diff options
author | Kim Alvefur <zash@zash.se> | 2016-01-22 01:59:25 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-01-22 01:59:25 +0100 |
commit | a7208387b48464b37195d8b9bb500da64b9039d7 (patch) | |
tree | 040aec336a7e1ea583eab8c6e0e54e72ddae3eda /net/server.lua | |
parent | 11714f287aa64f316519c85a941ef6c1c38a29d1 (diff) | |
download | prosody-a7208387b48464b37195d8b9bb500da64b9039d7.tar.gz prosody-a7208387b48464b37195d8b9bb500da64b9039d7.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.lua | 2 |
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; |