Committer: wisest-owl
LJSUP-11381: Create counters for monitoringU 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); } }