From 2f7f57e4142b6bfbca2f8f90b6e89e885c8d4a9c Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 19 Apr 2011 11:49:37 +0000 Subject: buildtime in minutes, not seconds --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 0000fa7..18a4b4d 100644 --- a/index.php +++ b/index.php @@ -229,7 +229,8 @@ if($w < 0) $w = $w * 60; Header("X-BS-Throttle: $w"); -header(sprintf('X-BS-Buildtime: %d', $buildtime_total)); +$buildtime_total = $buildtime_total / 60; +header(sprintf('X-BS-Buildtime: %d', round($buildtime_total))); $buildtime_avg = round($buildtime_total / $build_count, 2); header(sprintf('X-BS-Buildtime-Average: %5.2f', $buildtime_avg)); ?> -- cgit v1.2.1