Make proto_sup strategy less strict
This commit is contained in:
parent
0238fbbd2a
commit
b33aeb8014
@ -11,9 +11,9 @@ start_link(Port, CertDir) ->
|
||||
supervisor:start_link({local, ?MODULE}, ?MODULE, [Port, CertDir]).
|
||||
|
||||
init([Port, CertDir]) ->
|
||||
SupFlags = #{stragegy => one_for_one,
|
||||
intensity => 1,
|
||||
period => 5},
|
||||
SupFlags = #{strategy => one_for_one,
|
||||
intensity => 5,
|
||||
period => 10},
|
||||
ChildSpecs = [#{id => session_sup,
|
||||
start => {session_sup, start_link, []},
|
||||
restart => permanent,
|
||||
|
Loading…
x
Reference in New Issue
Block a user