summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-01-30 00:32:15 +0100
committerMagnus Ahltorp <map@kth.se>2015-02-19 13:14:31 +0100
commit8e44034c26ef661bcf89f097c05843f63a81f41a (patch)
tree8bcc0eaff7b435a1c96bb10030d8c94ade171832
parent7ba6f292cf85f89c1034929abb007c05a9fafbdd (diff)
Make mochiweb pool size configurable
-rw-r--r--src/catlfish_sup.erl1
1 files changed, 1 insertions, 0 deletions
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,