fix
This commit is contained in:
parent
ff91dfe950
commit
3329ae88af
@ -26,9 +26,7 @@ start_link() ->
|
|||||||
%% type => worker(), % optional
|
%% type => worker(), % optional
|
||||||
%% modules => modules()} % optional
|
%% modules => modules()} % optional
|
||||||
init([]) ->
|
init([]) ->
|
||||||
SupFlags = #{strategy => one_for_all,
|
SupFlags = #{strategy => one_for_one, intensity => 1000, period => 3600},
|
||||||
intensity => 0,
|
|
||||||
period => 1},
|
|
||||||
ChildSpecs = [],
|
ChildSpecs = [],
|
||||||
{ok, {SupFlags, ChildSpecs}}.
|
{ok, {SupFlags, ChildSpecs}}.
|
||||||
|
|
||||||
|
|||||||
1
rebar.lock
Normal file
1
rebar.lock
Normal file
@ -0,0 +1 @@
|
|||||||
|
[].
|
||||||
Loading…
x
Reference in New Issue
Block a user