wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[ljcom] r11643: LJSUP-11381: Create counters for monitor...

Committer: wisest-owl
LJSUP-11381: Create counters for monitoring

U   trunk/cgi-bin/LJ/Hooks/SUP.pm
Modified: trunk/cgi-bin/LJ/Hooks/SUP.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/SUP.pm	2012-03-27 12:02:19 UTC (rev 11642)
+++ trunk/cgi-bin/LJ/Hooks/SUP.pm	2012-03-27 12:15:21 UTC (rev 11643)
@@ -21,7 +21,7 @@
         my $minute_number = int (time / (60 * $time));
         my $stat_memkey = "stat:$counter:$minute_number";
         unless (LJ::MemCache::incr($stat_memkey, $value)) {
-            LJ::MemCache::add($stat_memkey, $value, 3600);
+            LJ::MemCache::add($stat_memkey, $value, 86400);
         }
     }
 

Tags: ljcom, pm, wisest-owl
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