Permalink
Browse files

5 minute default idle timeout

  • Loading branch information...
1 parent 81b0826 commit f755466e32bcc57c9c8e26f832b7aeaab1121a8c @kocolosk kocolosk committed with etrepum Oct 26, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mochiweb_request.erl
@@ -40,8 +40,8 @@
%% @type response(). A mochiweb_response parameterized module instance.
%% @type ioheaders() = headers() | [{key(), value()}].
-% 10 second default idle timeout
--define(IDLE_TIMEOUT, 10000).
+% 5 minute default idle timeout
+-define(IDLE_TIMEOUT, 300000).
% Maximum recv_body() length of 1MB
-define(MAX_RECV_BODY, (1024*1024)).

0 comments on commit f755466

Please sign in to comment.