You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/02/16 19:13:21 UTC
[kibble] branch master updated: let's switch to showing hours
instead
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
The following commit(s) were added to refs/heads/master by this push:
new a2f7305 let's switch to showing hours instead
a2f7305 is described below
commit a2f7305f0d44afd8c4b57992ee56cfb81cdc03b3
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Fri Feb 16 20:13:13 2018 +0100
let's switch to showing hours instead
days is a tad minute
---
api/pages/ci/top-buildtime.py | 2 +-
api/yaml/widgets.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/api/pages/ci/top-buildtime.py b/api/pages/ci/top-buildtime.py
index 0e874f2..8b88173 100644
--- a/api/pages/ci/top-buildtime.py
+++ b/api/pages/ci/top-buildtime.py
@@ -173,7 +173,7 @@ def run(API, environ, indata, session):
tophash = {}
for v in top:
- tophash["%s (%s)" % (v[2], v[3])] = int((v[1]/8640000))/10
+ tophash["%s (%s)" % (v[2], v[3])] = int((v[1]/360000))/10
JSON_OUT = {
'counts': tophash,
diff --git a/api/yaml/widgets.yaml b/api/yaml/widgets.yaml
index f9b9006..37e9ec8 100644
--- a/api/yaml/widgets.yaml
+++ b/api/yaml/widgets.yaml
@@ -752,7 +752,7 @@ widgets:
-
type: "donut"
source: "ci/top-buildtime"
- name: "Busiest jobs by build time (in days)"
+ name: "Busiest jobs by build time (in hours)"
blocks: 6
-
type: "donut"
--
To stop receiving notification emails like this one, please contact
humbedooh@apache.org.