fix: brutal kill emqx_dashboard_listener
This commit is contained in:
parent
34fe5e67e7
commit
73711d4147
|
@ -22,7 +22,7 @@
|
|||
|
||||
-export([init/1]).
|
||||
|
||||
-define(CHILD(I), {I, {I, start_link, []}, permanent, 5000, worker, [I]}).
|
||||
-define(CHILD(I, ShutDown), {I, {I, start_link, []}, permanent, ShutDown, worker, [I]}).
|
||||
|
||||
start_link() ->
|
||||
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
|
||||
|
@ -30,7 +30,7 @@ start_link() ->
|
|||
init([]) ->
|
||||
{ok,
|
||||
{{one_for_one, 5, 100}, [
|
||||
?CHILD(emqx_dashboard_listener),
|
||||
?CHILD(emqx_dashboard_token),
|
||||
?CHILD(emqx_dashboard_monitor)
|
||||
?CHILD(emqx_dashboard_listener, brutal_kill),
|
||||
?CHILD(emqx_dashboard_token, 5000),
|
||||
?CHILD(emqx_dashboard_monitor, 5000)
|
||||
]}}.
|
||||
|
|
Loading…
Reference in New Issue