Ss/flu1 factorization2 #55

Merged
shino merged 5 commits from ss/flu1-factorization2 into master 2015-12-18 08:19:17 +00:00
Showing only changes of commit b8297afc18 - Show all commits

View file

@ -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,