aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-11-30 18:11:36 +0100
committerKim Alvefur <zash@zash.se>2018-11-30 18:11:36 +0100
commit160fd377426f1f447b7a696795cb52fa35decf52 (patch)
treef8db6fb2ad0b826a4fcef8dc8c8943c6fc9f12ff /net
parentutil-src/makefile: Update with util.poll and util.compat (fixes #1251) (diff)
downloadprosody-160fd377426f1f447b7a696795cb52fa35decf52.tar.xz
prosody-160fd377426f1f447b7a696795cb52fa35decf52.zip
server_epoll: Increase write timeout
7 may be too low for some slow machines and/or networks
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 4b40c7d53..5ec4aa5ff 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -36,7 +36,7 @@ local _ENV = nil;
local default_config = { __index = {
read_timeout = 14 * 60;
- write_timeout = 7;
+ write_timeout = 60;
tcp_backlog = 128;
accept_retry_interval = 10;
read_retry_delay = 1e-06;