Change default maximum inactivity period to 60s from 30s
authorMatthew Wild <mwild1@gmail.com>
Fri, 09 Jan 2009 19:16:47 +0000
changeset 683 7428244a82a6
parent 682 dedd19e9d4b3
child 684 b7d85c6a0002
Change default maximum inactivity period to 60s from 30s
plugins/mod_bosh.lua
--- a/plugins/mod_bosh.lua	Fri Jan 09 17:44:59 2009 +0000
+++ b/plugins/mod_bosh.lua	Fri Jan 09 19:16:47 2009 +0000
@@ -17,7 +17,7 @@
 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;