From: Waqas Hussain Date: Thu, 2 Dec 2010 18:07:45 +0000 (+0500) Subject: net.server_select: Set select() timeout to 3600 by default. X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=5e039f92e23aeb53de8d599b4549880d58ec0519;p=prosody.git net.server_select: Set select() timeout to 3600 by default. --- diff --git a/net/server_select.lua b/net/server_select.lua index cfd7f3cd..0310a991 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -149,7 +149,7 @@ _timerlistlen = 0 -- lenght of timerlist _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