Changeset

3894:22368fbb71dd

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 3893:475fc383527d
children 3895:84f8153d06ce
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