aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-09 19:16:47 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-09 19:16:47 +0000
commitbc31c214d8c650e506676e620b52720f6df8eb1a (patch)
tree8878097cbbf1211a46a099be09fa81701ca4db8f /plugins/mod_bosh.lua
parent365368ef5272c34f83f32a77585e10acf174a175 (diff)
downloadprosody-bc31c214d8c650e506676e620b52720f6df8eb1a.tar.gz
prosody-bc31c214d8c650e506676e620b52720f6df8eb1a.zip
Change default maximum inactivity period to 60s from 30s
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index af482556..c0a2ada5 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -17,7 +17,7 @@ local config = require "core.configmanager";
local xmlns_bosh = "http://jabber.org/protocol/httpbind"; -- (hard-coded into a literal in session.send)
local BOSH_DEFAULT_HOLD = tonumber(config.get("*", "core", "bosh_default_hold")) or 1;
-local BOSH_DEFAULT_INACTIVITY = tonumber(config.get("*", "core", "bosh_max_inactivity")) or 30;
+local BOSH_DEFAULT_INACTIVITY = tonumber(config.get("*", "core", "bosh_max_inactivity")) or 60;
local BOSH_DEFAULT_POLLING = tonumber(config.get("*", "core", "bosh_max_polling")) or 5;
local BOSH_DEFAULT_REQUESTS = tonumber(config.get("*", "core", "bosh_max_requests")) or 2;
local BOSH_DEFAULT_MAXPAUSE = tonumber(config.get("*", "core", "bosh_max_pause")) or 300;