fix(persistent_sessions): allow for some failures of workers
This commit is contained in:
parent
234641ccf4
commit
28417ad1d7
|
@ -50,4 +50,8 @@ init(SessionTab) ->
|
||||||
shutdown => 2000,
|
shutdown => 2000,
|
||||||
type => worker,
|
type => worker,
|
||||||
modules => [emqx_session_router_worker]},
|
modules => [emqx_session_router_worker]},
|
||||||
{ok, {{simple_one_for_one, 0, 1}, [Worker]}}.
|
Spec = #{ strategy => simple_one_for_one
|
||||||
|
, intensity => 1
|
||||||
|
, period => 5},
|
||||||
|
|
||||||
|
{ok, {Spec, [Worker]}}.
|
||||||
|
|
Loading…
Reference in New Issue