diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-04-29 00:36:04 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-04-29 00:36:04 +0100 |
commit | fd324936d0c7a45c9e2b54a3eb4690bf5f46b020 (patch) | |
tree | b64e7d91badb210f2c1e3a857ddf921b164fb8aa /net/server_event.lua | |
parent | c5f20ce901c0c929c4ff5378269288e30c6977b4 (diff) | |
parent | f704c2bc9045e92272fdd687c887771754b55007 (diff) | |
download | prosody-fd324936d0c7a45c9e2b54a3eb4690bf5f46b020.tar.gz prosody-fd324936d0c7a45c9e2b54a3eb4690bf5f46b020.zip |
Merge 0.9->trunk
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index b34845d6..5eae95a9 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -23,6 +23,7 @@ local cfg = { HANDSHAKE_TIMEOUT = 60, -- timeout in seconds per handshake attempt MAX_READ_LENGTH = 1024 * 1024 * 1024 * 1024, -- max bytes allowed to read from sockets MAX_SEND_LENGTH = 1024 * 1024 * 1024 * 1024, -- max bytes size of write buffer (for writing on sockets) + ACCEPT_QUEUE = 128, -- might influence the length of the pending sockets queue ACCEPT_DELAY = 10, -- seconds to wait until the next attempt of a full server to accept READ_TIMEOUT = 60 * 60 * 6, -- timeout in seconds for read data from socket WRITE_TIMEOUT = 180, -- timeout in seconds for write data on socket |