Software /
code /
prosody
Diff
net/server_select.lua @ 3894:22368fbb71dd
net/server_select.lua: Reduce select() timeout back to 1s
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 18 Dec 2010 14:46:28 +0000 |
parent | 3810:8d2f959b8057 |
child | 4111:4716c7645ad2 |
line wrap: on
line diff
--- a/net/server_select.lua Sat Dec 18 14:44:45 2010 +0000 +++ b/net/server_select.lua Sat Dec 18 14:46:28 2010 +0000 @@ -149,7 +149,7 @@ _sendtraffic = 0 -- some stats _readtraffic = 0 -_selecttimeout = 3600 -- timeout of socket.select +_selecttimeout = 1 -- timeout of socket.select _sleeptime = 0 -- time to wait at the end of every loop _maxsendlen = 51000 * 1024 -- max len of send buffer