Committer: sbelyaev
LJSUP-13883: Journal pages optimizaiton : stage 1U trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm =================================================================== --- trunk/cgi-bin/LJ/User.pm 2012-10-10 13:58:10 UTC (rev 23096) +++ trunk/cgi-bin/LJ/User.pm 2012-10-10 14:35:46 UTC (rev 23097) @@ -943,7 +943,7 @@ my $memkey = [ $uid, "uactive:$atype:$uid" ]; # get activity key from memcache - my $atime = LJ::MemCache::get($memkey); + my $atime = LJ::MemCacheProxy::get($memkey); # nothing to do if we got an $atime within the last hour return 1 if $atime && $atime > $now - $explen; @@ -961,7 +961,7 @@ undef, $yr, $mo, $dy, $hr, $uid, $atype); # set a new memcache key good for $explen - LJ::MemCache::set($memkey, $now, $explen); + LJ::MemCacheProxy::set($memkey, $now, $explen); return 1; }