From 89870b22d9a27e40407ed037258b8b7dbf73aefa Mon Sep 17 00:00:00 2001 From: Magnus Klaar Date: Tue, 3 Jan 2012 16:29:32 +0100 Subject: Add note on async threads to cowboy_http_static. --- src/cowboy_http_static.erl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/cowboy_http_static.erl') 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 +%% +%% this reply from the OTP team to erlang-bugs +%% %% == Base configuration == %% %% The handler must be configured with a request path prefix to serve files -- cgit v1.2.3