Changeset

3810:8d2f959b8057

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
parents 3809:2e3f91cd170b
children 3811:987bf8b60bc1
files net/server_select.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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