vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

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

Committer: vad
LJSUP-13445: Home page optimization: stage 2
U   trunk/cgi-bin/LJ/NotificationInbox.pm
Modified: trunk/cgi-bin/LJ/NotificationInbox.pm
===================================================================
--- trunk/cgi-bin/LJ/NotificationInbox.pm	2012-08-29 12:10:47 UTC (rev 22768)
+++ trunk/cgi-bin/LJ/NotificationInbox.pm	2012-08-29 12:29:32 UTC (rev 22769)
@@ -207,7 +207,7 @@
     my $self = shift;
 
     # cached unread count
-    my $unread = LJ::MemCache::get($self->_unread_memkey);
+    my $unread = LJ::MemCacheProxy::get($self->_unread_memkey);
 
     return $unread if defined $unread;
 
@@ -220,7 +220,7 @@
     ($unread) = $sth->fetchrow_array;
 
     # cache it
-    LJ::MemCache::set($self->_unread_memkey, $unread, 30 * 60);
+    LJ::MemCacheProxy::set($self->_unread_memkey, $unread, 30 * 60);
 
     return $unread;
 }

Tags: livejournal, pm, vad, vadvs
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