Software /
code /
prosody
Diff
net/server_select.lua @ 5633:d999027577ed
net.server_select: Default checkinterval to 30s, so that read timeouts are actually detected
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 May 2013 18:33:16 +0100 |
parent | 5632:8a2456f1f117 |
child | 5645:ae079d57af2e |
line wrap: on
line diff
--- a/net/server_select.lua Fri May 24 18:14:09 2013 +0100 +++ b/net/server_select.lua Fri May 24 18:33:16 2013 +0100 @@ -145,7 +145,7 @@ _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