aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-24 18:33:16 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-24 18:33:16 +0100
commit924534d181f0eda5a815b268f32e25924a8edde5 (patch)
tree0f37ec7f63bbc112d63f2d752800c24769897628 /net/server_select.lua
parent8e377ca47c1ffd514390988f782f41faa127b31a (diff)
downloadprosody-924534d181f0eda5a815b268f32e25924a8edde5.tar.gz
prosody-924534d181f0eda5a815b268f32e25924a8edde5.zip
net.server_select: Default checkinterval to 30s, so that read timeouts are actually detected
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 0e7f41f8..1665524f 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -145,7 +145,7 @@ _tcpbacklog = 128 -- some kind of hint to the OS
_maxsendlen = 51000 * 1024 -- max len of send buffer
_maxreadlen = 25000 * 1024 -- max len of read buffer
-_checkinterval = 1200000 -- interval in secs to check idle clients
+_checkinterval = 30 -- interval in secs to check idle clients
_sendtimeout = 60000 -- allowed send idle time in secs
_readtimeout = 6 * 60 * 60 -- allowed read idle time in secs