Reduce count of accepror processes 100 -> 10
This commit is contained in:
parent
dffb73330d
commit
b8297afc18
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ init([]) ->
|
|||
string(), ets:tab(), atom() | pid()) -> supervisor:child_spec().
|
||||
listener_spec(FluName, TcpPort, Witness, DataDir, EpochTab, ProjStore) ->
|
||||
ListenerName = listener_name(FluName),
|
||||
NbAcceptors = 100,
|
||||
NbAcceptors = 10,
|
||||
TcpOpts = [{port, TcpPort}, {backlog, ?BACKLOG}],
|
||||
NetServerOpts = [FluName, Witness, DataDir, EpochTab, ProjStore],
|
||||
ranch:child_spec(ListenerName, NbAcceptors,
|
||||
|
|
Loading…
Reference in a new issue