From 68d3e37bd6a848949b6265a67199721cd935127e Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Fri, 30 Jan 2015 00:32:15 +0100 Subject: Make mochiweb pool size configurable --- src/catlfish_sup.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/catlfish_sup.erl b/src/catlfish_sup.erl index 0b6c306..6f918cd 100644 --- a/src/catlfish_sup.erl +++ b/src/catlfish_sup.erl @@ -22,6 +22,7 @@ init([]) -> WebConfig = [{ip, IPv4Address}, {port, Port}, {ssl, true}, + {acceptor_pool_size, application:get_env(catlfish, http_server_pool_size, 16)}, {ssl_opts, SSLOptions} ], {ChildName, -- cgit v1.1