madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r23119: LJSUP-13883: Journal pages optimizaiton ...

Committer: sbelyaev
LJSUP-13883: Journal pages optimizaiton : stage 1
U   trunk/cgi-bin/LJ/S2/RecentPage.pm
Modified: trunk/cgi-bin/LJ/S2/RecentPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/RecentPage.pm	2012-10-11 18:19:15 UTC (rev 23118)
+++ trunk/cgi-bin/LJ/S2/RecentPage.pm	2012-10-11 18:33:30 UTC (rev 23119)
@@ -155,7 +155,9 @@
 
     
     LJ::MemCacheProxy::get_multi( @prefetch_keys );
-    $u->prefetch_subscriptions();
+    if ($remote) {
+        $remote->prefetch_subscriptions();
+    }
 
     # load tags
     my $idsbyc = { $u->{clusterid} => [ ] };

Tags: livejournal, madeon, pm, sbelyaev
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments