summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-11-12 08:37:10 +0000
committerdes <des@FreeBSD.org>2003-11-12 08:37:10 +0000
commitaabfe725f2f55fa838b7dab6ab99e790b0f27ef7 (patch)
treecc00c0e6031bd2bd8590a23f56655274ae978046 /tools
parent0e0b11491bc10c2d1697978d307b554fac25bfe4 (diff)
downloadFreeBSD-src-aabfe725f2f55fa838b7dab6ab99e790b0f27ef7.zip
FreeBSD-src-aabfe725f2f55fa838b7dab6ab99e790b0f27ef7.tar.gz
Remove leftovers from old color determination scheme.
Tune the speed at which colors change.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/tinderbox/www/index.cgi4
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";
OpenPOWER on IntegriCloud