Diff

plugins/mod_bosh.lua @ 683:7428244a82a6

Change default maximum inactivity period to 60s from 30s
author Matthew Wild <mwild1@gmail.com>
date Fri, 09 Jan 2009 19:16:47 +0000
parent 679:9506bf204b1a
child 684:b7d85c6a0002
line wrap: on
line diff
--- 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;