summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-04-19 11:49:37 +0000
committerRomain d'Alverny <rda@mageia.org>2011-04-19 11:49:37 +0000
commit2f7f57e4142b6bfbca2f8f90b6e89e885c8d4a9c (patch)
tree2ec8ba88e4c9e96d058449cdb4afd6596232a31b /index.php
parentcaf2951c73db15ccd967ee92a36886863897f393 (diff)
downloadpkgsubmit-2f7f57e4142b6bfbca2f8f90b6e89e885c8d4a9c.tar
pkgsubmit-2f7f57e4142b6bfbca2f8f90b6e89e885c8d4a9c.tar.gz
pkgsubmit-2f7f57e4142b6bfbca2f8f90b6e89e885c8d4a9c.tar.bz2
pkgsubmit-2f7f57e4142b6bfbca2f8f90b6e89e885c8d4a9c.tar.xz
pkgsubmit-2f7f57e4142b6bfbca2f8f90b6e89e885c8d4a9c.zip
buildtime in minutes, not seconds
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
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));
?>