chore(emqx_telemetry): update supervisor's child restart strategy
This commit is contained in:
parent
256e92f4e9
commit
d167d6dd41
|
@ -38,8 +38,8 @@ start_link() ->
|
||||||
init([]) ->
|
init([]) ->
|
||||||
SupFlags = #{
|
SupFlags = #{
|
||||||
strategy => one_for_one,
|
strategy => one_for_one,
|
||||||
intensity => 0,
|
intensity => 10,
|
||||||
period => 1
|
period => 5
|
||||||
},
|
},
|
||||||
ChildSpecs = [?CHILD(emqx_telemetry)],
|
ChildSpecs = [?CHILD(emqx_telemetry)],
|
||||||
{ok, {SupFlags, ChildSpecs}}.
|
{ok, {SupFlags, ChildSpecs}}.
|
||||||
|
|
Loading…
Reference in New Issue