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
commit30853dda2a7d6d625031ada9d5dc95c6b66d64f0 (patch)
treef8db6fb2ad0b826a4fcef8dc8c8943c6fc9f12ff /net
parentb105494187675a7ff55010e4691581b90bc97c22 (diff)
downloadprosody-30853dda2a7d6d625031ada9d5dc95c6b66d64f0.tar.gz
prosody-30853dda2a7d6d625031ada9d5dc95c6b66d64f0.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 4b40c7d5..5ec4aa5f 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;