net/server_select.lua: Reduce select() timeout back to 1s
authorMatthew Wild <mwild1@gmail.com>
Sat, 18 Dec 2010 14:46:28 +0000 (14:46 +0000)
committerMatthew Wild <mwild1@gmail.com>
Sat, 18 Dec 2010 14:46:28 +0000 (14:46 +0000)
net/server_select.lua

index 0310a9915ead1febc7753d608b1a933daf22b39e..cfd7f3cd98c0c18489fdcdd8ed9732b1979a3d11 100644 (file)
@@ -149,7 +149,7 @@ _timerlistlen = 0 -- lenght of timerlist
 _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