diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-07-01 11:57:58 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-07-01 12:20:16 +0200 |
commit | 420c2991ef5f1c788a1756c2fde5b17bd6e4fa36 (patch) | |
tree | 1cc53967bcfdc802b97a422689fb3011f14264b7 /doc/invocations-http-server | |
parent | 9ddb30d80d9ee031771f56f2ec218a995c9c4842 (diff) | |
download | justbuild-master.tar.gz |
While our presentation shows the details of only up to 30
non-cached actions, the count reported in the heading should
still be the total count of all non-cached actions. Fix this.
Diffstat (limited to 'doc/invocations-http-server')
-rwxr-xr-x | doc/invocations-http-server/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/invocations-http-server/server.py b/doc/invocations-http-server/server.py index f9f57aff..e5175fc1 100755 --- a/doc/invocations-http-server/server.py +++ b/doc/invocations-http-server/server.py @@ -548,6 +548,7 @@ class InvocationServer: candidates.sort(reverse=True) non_cached = [] params["more_noncached"] = None + params["non_cached_count"] = len(candidates) if len(candidates) > 30: params["more_non_cached"] = len(candidates) - 30 candidates = candidates[:30] @@ -556,7 +557,6 @@ class InvocationServer: action["name_prefix"] = "%5.1fs" % (t,) non_cached.append(action) params["non_cached"] = non_cached - params["non_cached_count"] = len(non_cached) start_time = profile.get("start time") build_start_time = profile.get("build start time") build_stop_time = profile.get("build stop time") |