Software /
code /
prosody
Diff
net/server_epoll.lua @ 9825:5ccce16c6449
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
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 09 Feb 2019 20:54:35 +0100 |
parent | 9824:729de68f0068 |
child | 9835:20bf5b47c1fb |
line wrap: on
line diff
--- a/net/server_epoll.lua Sat Feb 09 20:34:00 2019 +0100 +++ b/net/server_epoll.lua Sat Feb 09 20:54:35 2019 +0100 @@ -39,7 +39,7 @@ 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;