summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-14 15:32:37 -0800
committerBrion Vibber <brion@pobox.com>2010-01-14 15:32:37 -0800
commit58bc33850ab615f21b4364aac8b8b7f74a95111d (patch)
tree21fe52ee4361ec6c9b802dc0c17e62af9830da29 /lib
parent5783874cc20ab0f856ea6b3f41510a303a8bd3a2 (diff)
temporary --skip-xmpp flag on queuedaemon.php, allows to run queue daemons but skip subscription to xmpp-based queues
(still working on making these behave gracefully when server is down)
Diffstat (limited to 'lib')
-rw-r--r--lib/queuemanager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/queuemanager.php b/lib/queuemanager.php
index a98c0efff..b98e57a1f 100644
--- a/lib/queuemanager.php
+++ b/lib/queuemanager.php
@@ -157,7 +157,7 @@ abstract class QueueManager extends IoManager
}
// XMPP output handlers...
- if (common_config('xmpp', 'enabled')) {
+ if (common_config('xmpp', 'enabled') && !defined('XMPP_EMERGENCY_FLAG')) {
$this->connect('jabber', 'JabberQueueHandler');
$this->connect('public', 'PublicQueueHandler');