aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commit8c7ccc03685804776dfc90cba17ec3d766479740 (patch)
tree0f37ec7f63bbc112d63f2d752800c24769897628 /net
parentb5eff9a9018c37698bbb850452a5c8bf504051a4 (diff)
downloadprosody-8c7ccc03685804776dfc90cba17ec3d766479740.tar.gz
prosody-8c7ccc03685804776dfc90cba17ec3d766479740.zip
net.server_select: Default checkinterval to 30s, so that read timeouts are actually detected
Diffstat (limited to 'net')
-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