aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-18 14:46:28 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-18 14:46:28 +0000
commitacbe5b3dffba60d0240279df2ffe51dcd5b0c16a (patch)
tree4e29fd2f5e533a30c5863e51edea01b13a2659d9 /net
parent18f5651ba302d1c98a470d81e671064ee8f78e3c (diff)
downloadprosody-acbe5b3dffba60d0240279df2ffe51dcd5b0c16a.tar.gz
prosody-acbe5b3dffba60d0240279df2ffe51dcd5b0c16a.zip
net/server_select.lua: Reduce select() timeout back to 1s
Diffstat (limited to 'net')
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 0310a991..cfd7f3cd 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 = 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