# HG changeset patch # User Waqas Hussain # Date 1291313265 -18000 # Node ID 55acf6df9a1838345a12a5985638058670bbafe0 # Parent 27d3e2a2a248e8c26f7ff3077a466ce37eed8756 net.server_select: Set select() timeout to 3600 by default. diff -r 27d3e2a2a248 -r 55acf6df9a18 net/server_select.lua --- a/net/server_select.lua Thu Dec 02 23:06:30 2010 +0500 +++ b/net/server_select.lua Thu Dec 02 23:07:45 2010 +0500 @@ -149,7 +149,7 @@ _sendtraffic = 0 -- some stats _readtraffic = 0 -_selecttimeout = 1 -- timeout of socket.select +_selecttimeout = 3600 -- timeout of socket.select _sleeptime = 0 -- time to wait at the end of every loop _maxsendlen = 51000 * 1024 -- max len of send buffer