aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-01-22 01:59:25 +0100
committerKim Alvefur <zash@zash.se>2016-01-22 01:59:25 +0100
commit9d4aae5a44d24b44f22a11f2c1990ac6469845d3 (patch)
tree040aec336a7e1ea583eab8c6e0e54e72ddae3eda /net/server.lua
parent0a8beb53c654c7158b9b04309c9d94f45e15ad7d (diff)
downloadprosody-9d4aae5a44d24b44f22a11f2c1990ac6469845d3.tar.gz
prosody-9d4aae5a44d24b44f22a11f2c1990ac6469845d3.zip
server_select: Retry accepting clients from full servers after 10s (matches libevent behaviour)
Diffstat (limited to 'net/server.lua')
-rw-r--r--net/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua
index 375e7081..9b0d27e1 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -50,7 +50,7 @@ if prosody then
local settings = config_get("*", "network_settings") or {};
if use_luaevent then
local event_settings = {
- ACCEPT_DELAY = settings.event_accept_retry_interval;
+ ACCEPT_DELAY = settings.accept_retry_interval;
ACCEPT_QUEUE = settings.tcp_backlog;
CLEAR_DELAY = settings.event_clear_interval;
CONNECT_TIMEOUT = settings.connect_timeout;