fix(persistent_sessions): allow for some failures of workers

This commit is contained in:
Tobias Lindahl 2021-10-26 09:55:57 +02:00
parent 234641ccf4
commit 28417ad1d7
1 changed files with 5 additions and 1 deletions

View File

@ -50,4 +50,8 @@ init(SessionTab) ->
shutdown => 2000,
type => 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]}}.