madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22770: LJSUP-13445: Home page optimization: sta...

Committer: sbelyaev
LJSUP-13445: Home page optimization: stage 2
U   trunk/cgi-bin/LJ/User/PropStorage.pm
Modified: trunk/cgi-bin/LJ/User/PropStorage.pm
===================================================================
--- trunk/cgi-bin/LJ/User/PropStorage.pm	2012-08-29 12:29:32 UTC (rev 22769)
+++ trunk/cgi-bin/LJ/User/PropStorage.pm	2012-08-29 13:09:53 UTC (rev 22770)
@@ -80,7 +80,7 @@
 
     my $userid = int $u->userid;
 
-    LJ::MemCache::delete ([ $userid, $memkey ]);
+    LJ::MemCacheProxy::delete ([ $userid, $memkey ]);
 }
 
 sub fetch_props_memcache {
@@ -98,7 +98,7 @@
         push @memkeys, [ $userid, $memkey ];
     }
 
-    my $from_memcache = LJ::MemCache::get_multi(@memkeys);
+    my $from_memcache = LJ::MemCacheProxy::get_multi(@memkeys);
 
     my %ret;
     foreach my $k (@$props) {
@@ -121,7 +121,7 @@
     foreach my $k (keys %$propmap) {
         my $memkey = $class->memcache_key($u, $k);
 
-        LJ::MemCache::set( [ $userid, $memkey ],
+        LJ::MemCacheProxy::set( [ $userid, $memkey ],
                            $propmap->{$k} || '',
                            $expire );
     }

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