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 | c2f74508093fdf804d648a77b72f07c0928a146e (patch) | |
tree | 040aec336a7e1ea583eab8c6e0e54e72ddae3eda /net/server.lua | |
parent | a1560114d0e51c74fb724a2b3577b7b230a79a50 (diff) | |
download | prosody-c2f74508093fdf804d648a77b72f07c0928a146e.tar.gz prosody-c2f74508093fdf804d648a77b72f07c0928a146e.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; |