From 5fbbb3e0bf7ea28dc8c5061ccb73fa5827872537 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(+) (limited to 'src') 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