diff options
author | Kim Alvefur <zash@zash.se> | 2019-02-09 20:54:35 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-02-09 20:54:35 +0100 |
commit | ce03153c84ca4f2ef38daa09ab078d6e1a092469 (patch) | |
tree | fca36d1280b2c09af40cb9df6a080357e3990704 /net | |
parent | a40e044c0327b838e4a4e161e92798ed3ceadcf5 (diff) | |
download | prosody-ce03153c84ca4f2ef38daa09ab078d6e1a092469.tar.gz prosody-ce03153c84ca4f2ef38daa09ab078d6e1a092469.zip |
net.server_epoll: Increase send_timeout to 3 minutes (to match server_event)
The separate connect_timeout means we can afford a longer send_timeout
Diffstat (limited to 'net')
-rw-r--r-- | net/server_epoll.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index a80b33a9..fdf006f6 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -39,7 +39,7 @@ local default_config = { __index = { read_timeout = 14 * 60; -- How long to wait for a socket to become writable after queuing data to send - send_timeout = 60; + send_timeout = 180; -- How long to wait for a socket to become writable after creation connect_timeout = 20; |