diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-04-19 11:49:37 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-04-19 11:49:37 +0000 |
commit | 2f7f57e4142b6bfbca2f8f90b6e89e885c8d4a9c (patch) | |
tree | 2ec8ba88e4c9e96d058449cdb4afd6596232a31b /index.php | |
parent | caf2951c73db15ccd967ee92a36886863897f393 (diff) | |
download | pkgsubmit-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.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)); ?> |