From d59eef5c737d0b08eb8c16c5316300e863bc935c Mon Sep 17 00:00:00 2001 From: juhlig Date: Wed, 8 May 2019 15:05:27 +0200 Subject: Add the num_conns_sups option This new option allows configuring the number of connection supervisors. The old behavior can be obtained by setting this value to 1. A value larger than num_acceptors will result in some connection supervisors not being used as the acceptors currently only use one connection supervisor. --- src/ranch.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ranch.erl') diff --git a/src/ranch.erl b/src/ranch.erl index 2290dee..6649c10 100644 --- a/src/ranch.erl +++ b/src/ranch.erl @@ -65,6 +65,7 @@ max_connections => max_conns(), logger => module(), num_acceptors => pos_integer(), + num_conns_sups => pos_integer(), shutdown => timeout() | brutal_kill, socket_opts => any() }. -- cgit v1.2.3