журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[livejournal] r22805: LJSUP-13528: Change cache time for reade...

Committer: nnikulochkina
LJSUP-13528: Change cache time for reader_weight from 60 min to 1 min
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-09-04 13:08:54 UTC (rev 22804)
+++ trunk/cgi-bin/LJ/User.pm	2012-09-04 13:24:38 UTC (rev 22805)
@@ -2902,7 +2902,7 @@
  
     $reader_weight = $resp->{reader_weight};
 
-    LJ::MemCache::set( $memkey, $reader_weight, 60*60);
+    LJ::MemCache::set( $memkey, $reader_weight, 60);
 
     return $reader_weight;
 }

Tags: livejournal, nikulochkina, nnikulochkina, pm
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