]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
XXX comments to remember to fan-out in realtime distribution
authorEvan Prodromou <evan@status.net>
Mon, 11 Jul 2011 15:33:39 +0000 (11:33 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 11 Jul 2011 15:33:39 +0000 (11:33 -0400)
plugins/Realtime/RealtimePlugin.php

index a7750e005ed0d64e89f6e3c77aa228059ce29ff2..5f7c34cadbd20eb36e0d378d11668c07216acea9 100644 (file)
@@ -209,6 +209,9 @@ class RealtimePlugin extends Plugin
             $json = $this->noticeAsJson($notice);
 
             $this->_connect();
+            
+            // XXX: We should probably fan-out here and do a
+            // new queue item for each path
 
             foreach ($paths as $path) {
                
@@ -217,6 +220,10 @@ class RealtimePlugin extends Plugin
                $channels = Realtime_channel::getAllChannels($action, $arg1, $arg2);
                
                foreach ($channels as $channel) {
+                       
+                       // XXX: We should probably fan-out here and do a
+                       // new queue item for each user/path combo
+            
                        if (is_null($channel->user_id)) {
                                $profile = null;
                        } else {