aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher tofu Zorn <tofu@stanziq.com>2010-05-05 16:30:35 -0400
committerBadlop <badlop@process-one.net>2010-05-06 20:52:40 +0200
commitcce57310b03bc42a5524af2ba15502c026ceec88 (patch)
tree6e6312b96dbf8f5c970e2cb59a1dd5024d68bd44 /src
parentUse dirty_delete when removing the session. (diff)
Change max inactivity from 30 to 120 seconds
Diffstat (limited to 'src')
-rw-r--r--src/web/ejabberd_http_bind.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl
index b26cf5fc0..c971936db 100644
--- a/src/web/ejabberd_http_bind.erl
+++ b/src/web/ejabberd_http_bind.erl
@@ -96,7 +96,7 @@
-define(MIN_POLLING, 2000000). % don't poll faster than that or we will
% shoot you (time in microsec)
-define(MAX_WAIT, 3600). % max num of secs to keep a request on hold
--define(MAX_INACTIVITY, 30000). % msecs to wait before terminating
+-define(MAX_INACTIVITY, 120000). % msecs to wait before terminating
% idle sessions
-define(MAX_PAUSE, 120). % may num of sec a client is allowed to pause
% the session