# HG changeset patch # User Matthew Wild # Date 1292683588 0 # Node ID f3f2a78101085689cd0fec7c41b3dfdae9cb4d09 # Parent 9189ed18c3c9a19bc21757272c256d25845324b3 net/server_select.lua: Reduce select() timeout back to 1s diff -r 9189ed18c3c9 -r f3f2a7810108 net/server_select.lua --- 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