diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-21 13:40:59 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-21 13:40:59 -0800 |
commit | 5349aa420ed45c2f5bf773d10c7709826ae6babd (patch) | |
tree | aee4444ba48f9e84c77ff6660daaf5d8ee15a2f7 /plugins/OStatus/OStatusPlugin.php | |
parent | 10f6c023f4573868326c4b6599bdfb66cffdd7d6 (diff) |
OStatus feedsub fixlets:
- actually udpate feedsub.last_update when we get a new PuSH update in
- move incoming PuSH processing to a queue handler to minimize time spent before POST return, as recommended by PuSH spec. When queues are disabled this'll still be handled immediately.
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index b966661db..c5a2db3d8 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -78,9 +78,13 @@ class OStatusPlugin extends Plugin */ function onEndInitializeQueueManager(QueueManager $qm) { + // Outgoing from our internal PuSH hub $qm->connect('hubverify', 'HubVerifyQueueHandler'); $qm->connect('hubdistrib', 'HubDistribQueueHandler'); $qm->connect('hubout', 'HubOutQueueHandler'); + + // Incoming from a foreign PuSH hub + $qm->connect('pushinput', 'PushInputQueueHandler'); return true; } |