Ss/flu1 factorization2 #55
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ init([]) ->
|
||||||
string(), ets:tab(), atom() | pid()) -> supervisor:child_spec().
|
string(), ets:tab(), atom() | pid()) -> supervisor:child_spec().
|
||||||
listener_spec(FluName, TcpPort, Witness, DataDir, EpochTab, ProjStore) ->
|
listener_spec(FluName, TcpPort, Witness, DataDir, EpochTab, ProjStore) ->
|
||||||
ListenerName = listener_name(FluName),
|
ListenerName = listener_name(FluName),
|
||||||
NbAcceptors = 100,
|
NbAcceptors = 10,
|
||||||
TcpOpts = [{port, TcpPort}, {backlog, ?BACKLOG}],
|
TcpOpts = [{port, TcpPort}, {backlog, ?BACKLOG}],
|
||||||
NetServerOpts = [FluName, Witness, DataDir, EpochTab, ProjStore],
|
NetServerOpts = [FluName, Witness, DataDir, EpochTab, ProjStore],
|
||||||
ranch:child_spec(ListenerName, NbAcceptors,
|
ranch:child_spec(ListenerName, NbAcceptors,
|
||||||
|
|
Loading…
Reference in a new issue