Software /
code /
prosody
Changeset
3687:55acf6df9a18
net.server_select: Set select() timeout to 3600 by default.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 02 Dec 2010 23:07:45 +0500 |
parents | 3686:27d3e2a2a248 |
children | 3688:f7de887ea0be |
files | net/server_select.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_select.lua Thu Dec 02 23:06:30 2010 +0500 +++ b/net/server_select.lua Thu Dec 02 23:07:45 2010 +0500 @@ -149,7 +149,7 @@ _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