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([]) ->
|
||||
SupFlags = #{
|
||||
strategy => one_for_one,
|
||||
intensity => 0,
|
||||
period => 1
|
||||
intensity => 10,
|
||||
period => 5
|
||||
},
|
||||
ChildSpecs = [?CHILD(emqx_telemetry)],
|
||||
{ok, {SupFlags, ChildSpecs}}.
|
||||
|
|
Loading…
Reference in New Issue