Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

5 minute default idle timeout

  • Loading branch information...
commit f755466e32bcc57c9c8e26f832b7aeaab1121a8c 1 parent 81b0826
@kocolosk kocolosk authored etrepum committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mochiweb_request.erl
View
4 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)).
Please sign in to comment.
Something went wrong with that request. Please try again.