madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r23094: 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-10 13:30:05 UTC (rev 23093)
+++ trunk/cgi-bin/LJ/S2/RecentPage.pm	2012-10-10 13:34:11 UTC (rev 23094)
@@ -169,6 +169,7 @@
 
         my $ditemid   = $itemid * 256 + $item->{'anum'};
         my $entry_obj = LJ::Entry->new($u, ditemid => $ditemid);
+        $entry_obj->handle_prefetched_props($logprops{$itemid});
        
         my $repost_entry_obj;
         my $removed; 
@@ -176,7 +177,7 @@
         next ENTRY unless $entry_obj->visible_to($remote, { 'viewall'  => $viewall, 
                                                             'viewsome' => $viewsome});
 
-        $entry_obj->handle_prefetched_props($logprops{$itemid});
+        
         my $replycount = $logprops{$itemid}->{'replycount'};
 
         my $subject    = $logtext->{$itemid}->[0];

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