aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMagnus Klaar <[email protected]>2012-01-03 16:29:32 +0100
committerMagnus Klaar <[email protected]>2012-01-03 16:29:32 +0100
commit89870b22d9a27e40407ed037258b8b7dbf73aefa (patch)
treed4cd76719007857a985f73a31158aa60687769df /src
parentea7ae14df888ce6b37e3e219c6dae557c37d44f3 (diff)
downloadcowboy-89870b22d9a27e40407ed037258b8b7dbf73aefa.tar.gz
cowboy-89870b22d9a27e40407ed037258b8b7dbf73aefa.tar.bz2
cowboy-89870b22d9a27e40407ed037258b8b7dbf73aefa.zip
Add note on async threads to cowboy_http_static.
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_http_static.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cowboy_http_static.erl b/src/cowboy_http_static.erl
index 547c043..a98026d 100644
--- a/src/cowboy_http_static.erl
+++ b/src/cowboy_http_static.erl
@@ -20,6 +20,12 @@
%% used for small or temporary environments where it is not preferrable to set
%% up a second server just to serve files.
%%
+%% If this handler is used the Erlang node running the cowboy application must
+%% be configured to use an async thread pool. This is configured by adding the
+%% `+A $POOL_SIZE' argument to the `erl' command used to start the node. See
+%% <a href="http://erlang.org/pipermail/erlang-bugs/2012-January/002720.html">
+%% this reply</a> from the OTP team to erlang-bugs
+%%
%% == Base configuration ==
%%
%% The handler must be configured with a request path prefix to serve files