# HG changeset patch # User Matthew Wild # Date 1292683588 0 # Node ID 22368fbb71dd77992a122ba50c2aa9a47be59f14 # Parent 475fc383527d9fbde56e8684682644f7ebb377b0 net/server_select.lua: Reduce select() timeout back to 1s diff -r 475fc383527d -r 22368fbb71dd 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