From aabfe725f2f55fa838b7dab6ab99e790b0f27ef7 Mon Sep 17 00:00:00 2001 From: des Date: Wed, 12 Nov 2003 08:37:10 +0000 Subject: [PATCH] Remove leftovers from old color determination scheme. Tune the speed at which colors change. --- tools/tools/tinderbox/www/index.cgi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/tools/tinderbox/www/index.cgi b/tools/tools/tinderbox/www/index.cgi index 9ea466031cc8..89a214dbf509 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";