net.server_select: Set select() timeout to 3600 by default.

Thu, 02 Dec 2010 23:07:45 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Thu, 02 Dec 2010 23:07:45 +0500
changeset 3810
8d2f959b8057
parent 3809
2e3f91cd170b
child 3811
987bf8b60bc1

net.server_select: Set select() timeout to 3600 by default.

net/server_select.lua file | annotate | diff | comparison | revisions
--- 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

mercurial