aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-04-27 22:46:01 +0200
committerKim Alvefur <zash@zash.se>2013-04-27 22:46:01 +0200
commita7340fef1ce2d91665ba93f728c66f7183002a1f (patch)
treee88168af92a11e7b30a5179f57ac7f3935ab2be8 /net/server.lua
parentd9bff06d21d62879c54ee40dbd654b4dbc89735f (diff)
downloadprosody-a7340fef1ce2d91665ba93f728c66f7183002a1f.tar.gz
prosody-a7340fef1ce2d91665ba93f728c66f7183002a1f.zip
net.server*: Allow the TCP backlog parameter to be set in the config
Diffstat (limited to 'net/server.lua')
-rw-r--r--net/server.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server.lua b/net/server.lua
index ae3d45b0..375e7081 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -51,6 +51,7 @@ if prosody then
if use_luaevent then
local event_settings = {
ACCEPT_DELAY = settings.event_accept_retry_interval;
+ ACCEPT_QUEUE = settings.tcp_backlog;
CLEAR_DELAY = settings.event_clear_interval;
CONNECT_TIMEOUT = settings.connect_timeout;
DEBUG = settings.debug;