Change lower bound for session handles (session_max) to 1024 (upper bound is 8192).
This commit is contained in:
parent
ac835f7617
commit
fea52c4ec3
1 changed files with 5 additions and 1 deletions
|
@ -377,7 +377,11 @@ max_sessions(Config) ->
|
|||
end,
|
||||
Est = RingSize * erlang:system_info(schedulers),
|
||||
case Est > 8192 of
|
||||
true -> 8192;
|
||||
true ->
|
||||
case Est < 1024 of
|
||||
true -> 1024;
|
||||
false -> 8192
|
||||
end;
|
||||
false -> Est
|
||||
end.
|
||||
|
||||
|
|
Loading…
Reference in a new issue