Queues: redid the breakout control model so we can start up and subscribe to queues without running through the complete site list, which is ok at 1k sites but too slow at 10k.

All breakout queues that we're going to need to listen to now need to be explicitly listed in $config['queue']['breakout'].

Until XMPP is moved to component model, this setting will let the individual processes work with their own queues:
$config['queue']['breakout'][] = 'xmpp/xmppout/' . $config['site']['nickname'];
This commit is contained in:
Brion Vibber
2010-02-17 16:49:00 -08:00
parent 73ba26efe3
commit ce6be4f836
4 changed files with 76 additions and 78 deletions

View File

@@ -126,8 +126,7 @@ class QueueDaemon extends SpawningDaemon
class QueueMaster extends IoMaster
{
/**
* Initialize IoManagers for the currently configured site
* which are appropriate to this instance.
* Initialize IoManagers which are appropriate to this instance.
*/
function initManagers()
{