diff options
author | Magnus Ahltorp <map@kth.se> | 2015-01-30 00:32:15 +0100 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2015-01-30 00:32:15 +0100 |
commit | 68d3e37bd6a848949b6265a67199721cd935127e (patch) | |
tree | 8bcc0eaff7b435a1c96bb10030d8c94ade171832 /src | |
parent | 93772bdb35d65940cd11a9392e67910f176cbe24 (diff) |
Make mochiweb pool size configurable
Diffstat (limited to 'src')
-rw-r--r-- | src/catlfish_sup.erl | 1 |
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, |