Diff

net/server_select.lua @ 3687:55acf6df9a18

net.server_select: Set select() timeout to 3600 by default.
author Waqas Hussain <waqas20@gmail.com>
date Thu, 02 Dec 2010 23:07:45 +0500
parent 3686:27d3e2a2a248
child 3775:f3f2a7810108
line wrap: on
line diff
--- 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