diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-05-24 18:33:16 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-05-24 18:33:16 +0100 |
commit | 924534d181f0eda5a815b268f32e25924a8edde5 (patch) | |
tree | 0f37ec7f63bbc112d63f2d752800c24769897628 /net | |
parent | 8e377ca47c1ffd514390988f782f41faa127b31a (diff) | |
download | prosody-924534d181f0eda5a815b268f32e25924a8edde5.tar.gz prosody-924534d181f0eda5a815b268f32e25924a8edde5.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.lua | 2 |
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 |