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