Software /
code /
prosody
Diff
net/server_epoll.lua @ 8983:23f66f04e216
net.server: Set default read timeout to 14 minutes (fixes #971)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 06 Jul 2018 19:02:19 +0200 |
parent | 8781:53178b6ba589 |
child | 9300:1df8832bd29e |
line wrap: on
line diff
--- a/net/server_epoll.lua Fri Jul 06 17:59:39 2018 +0200 +++ b/net/server_epoll.lua Fri Jul 06 19:02:19 2018 +0200 @@ -32,7 +32,7 @@ -- luacheck: std none local default_config = { __index = { - read_timeout = 900; + read_timeout = 14 * 60; write_timeout = 7; tcp_backlog = 128; accept_retry_interval = 10;