plugins/mod_bosh.lua

changeset 683
7428244a82a6
parent 679
9506bf204b1a
child 684
b7d85c6a0002
--- 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;

mercurial