diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/tinderbox/www/index.cgi | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/tools/tinderbox/www/index.cgi b/tools/tools/tinderbox/www/index.cgi index 9ea4660..89a214d 100644 --- a/tools/tools/tinderbox/www/index.cgi +++ b/tools/tools/tinderbox/www/index.cgi @@ -33,8 +33,6 @@ use 5.006_001; use strict; use POSIX qw(strftime); -my $STALE = 8 * 3600; - my %BRANCHES; my %ARCHES; @@ -121,7 +119,7 @@ MAIN:{ if (-f "$DIR/$log.brief") { my @stat = stat("$DIR/$log.brief"); my $class = success("$DIR/$log.brief") ? "ok" : "fail"; - my $age = int(($now - $stat[9]) / 7200); + my $age = int(($now - $stat[9]) / 1800); $age = 9 if ($age > 9); $class .= "-$age"; |