aboutsummaryrefslogtreecommitdiffstats
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
commit22a83d733c206006fbcf24baaec0e197ed4a3e57 (patch)
treea5c35135e2144e810bde509de72eaea12c9e2acb
parent4531224ed4cccaf0d94837ee0e984c8c8c7ce550 (diff)
downloadprosody-22a83d733c206006fbcf24baaec0e197ed4a3e57.tar.gz
prosody-22a83d733c206006fbcf24baaec0e197ed4a3e57.zip
net/server_select.lua: Reduce select() timeout back to 1s
-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