summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-01-30 00:32:15 +0100
committerLinus Nordberg <linus@nordberg.se>2015-02-20 14:12:47 +0100
commit5fbbb3e0bf7ea28dc8c5061ccb73fa5827872537 (patch)
treec275222290321e83e46cb1076f747259006b2af2 /src
parent242958ae9575b1889bd0c86dd186f2b626260987 (diff)
Make mochiweb pool size configurable
Diffstat (limited to 'src')
-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,