Software /
code /
prosody
Diff
net/server.lua @ 7095:3e1dac35af87
server_select: Retry accepting clients from full servers after 10s (matches libevent behaviour)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 22 Jan 2016 01:59:25 +0100 |
parent | 5531:483f795f6f99 |
child | 7098:5286e79c6829 |
line wrap: on
line diff
--- a/net/server.lua Fri Jan 22 01:58:39 2016 +0100 +++ b/net/server.lua Fri Jan 22 01:59:25 2016 +0100 @@ -50,7 +50,7 @@ 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;