summaryrefslogtreecommitdiff
path: root/src/catlfish_sup.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-01-30 00:32:15 +0100
committerMagnus Ahltorp <map@kth.se>2015-01-30 00:32:15 +0100
commit68d3e37bd6a848949b6265a67199721cd935127e (patch)
tree8bcc0eaff7b435a1c96bb10030d8c94ade171832 /src/catlfish_sup.erl
parent93772bdb35d65940cd11a9392e67910f176cbe24 (diff)
Make mochiweb pool size configurable
Diffstat (limited to 'src/catlfish_sup.erl')
-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,