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 3687
55acf6df9a18
parent 3686
27d3e2a2a248
child 3688
f7de887ea0be

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