projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b873aad
)
net.server_select: Set select() timeout to 3600 by default.
author
Waqas Hussain
<waqas20@gmail.com>
Thu, 2 Dec 2010 18:07:45 +0000
(23:07 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Thu, 2 Dec 2010 18:07:45 +0000
(23:07 +0500)
net/server_select.lua
patch
|
blob
|
history
diff --git
a/net/server_select.lua
b/net/server_select.lua
index cfd7f3cd98c0c18489fdcdd8ed9732b1979a3d11..0310a9915ead1febc7753d608b1a933daf22b39e 100644
(file)
--- 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