From b8297afc186c3acc1cc4b292ed9f553895c9bd83 Mon Sep 17 00:00:00 2001 From: Shunichi Shinohara Date: Fri, 18 Dec 2015 16:30:35 +0900 Subject: [PATCH] Reduce count of accepror processes 100 -> 10 --- src/machi_flu1_subsup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machi_flu1_subsup.erl b/src/machi_flu1_subsup.erl index 3219802..21fd6f5 100644 --- a/src/machi_flu1_subsup.erl +++ b/src/machi_flu1_subsup.erl @@ -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,