fix
This commit is contained in:
parent
7d031e8f1f
commit
fadf00eb52
@ -27,7 +27,16 @@ start_link() ->
|
||||
%% modules => modules()} % optional
|
||||
init([]) ->
|
||||
SupFlags = #{strategy => one_for_one, intensity => 1000, period => 3600},
|
||||
ChildSpecs = [],
|
||||
ChildSpecs = [
|
||||
#{
|
||||
id => 'efka_server_sup',
|
||||
start => {'efka_server_sup', start_link, []},
|
||||
restart => permanent,
|
||||
shutdown => 2000,
|
||||
type => supervisor,
|
||||
modules => ['efka_server_sup']
|
||||
}
|
||||
],
|
||||
{ok, {SupFlags, ChildSpecs}}.
|
||||
|
||||
%% internal functions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user