Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
8982:4a576c39bb2f | 8983:23f66f04e216 |
---|---|
30 | 30 |
31 local _ENV = nil; | 31 local _ENV = nil; |
32 -- luacheck: std none | 32 -- luacheck: std none |
33 | 33 |
34 local default_config = { __index = { | 34 local default_config = { __index = { |
35 read_timeout = 900; | 35 read_timeout = 14 * 60; |
36 write_timeout = 7; | 36 write_timeout = 7; |
37 tcp_backlog = 128; | 37 tcp_backlog = 128; |
38 accept_retry_interval = 10; | 38 accept_retry_interval = 10; |
39 read_retry_delay = 1e-06; | 39 read_retry_delay = 1e-06; |
40 connect_timeout = 20; | 40 connect_timeout = 20; |