aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-12-02 23:07:45 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-12-02 23:07:45 +0500
commit5400d9c376df142682cd9bd7cf2aff4e22e8fb20 (patch)
tree1e28df9d5e1e3f58f512ad8857da128ec33c1d8b /net/server_select.lua
parent8d6882c857856a12c6639e5f5ad5825bb8fd0969 (diff)
downloadprosody-5400d9c376df142682cd9bd7cf2aff4e22e8fb20.tar.gz
prosody-5400d9c376df142682cd9bd7cf2aff4e22e8fb20.zip
net.server_select: Set select() timeout to 3600 by default.
Diffstat (limited to 'net/server_select.lua')
-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 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