Changeset

3775:f3f2a7810108

net/server_select.lua: Reduce select() timeout back to 1s
author Matthew Wild <mwild1@gmail.com>
date Sat, 18 Dec 2010 14:46:28 +0000
parents 3774:9189ed18c3c9
children 3776:bc4f67a0658d 3777:5ecbcef42ffb
files net/server_select.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_select.lua	Sat Dec 18 14:44:45 2010 +0000
+++ b/net/server_select.lua	Sat Dec 18 14:46:28 2010 +0000
@@ -149,7 +149,7 @@
 _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