aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/agent.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-04-11 18:32:56 +0100
committerChristopher Baines <mail@cbaines.net>2023-04-11 18:33:33 +0100
commitdd817097a387db05fbf8036855b7ea7304067e93 (patch)
tree86badaf741780ac0ff461945123af9716d218c48 /guix-build-coordinator/agent.scm
parentc501076fb082368325920461d8c6c6de21316dd0 (diff)
downloadbuild-coordinator-dd817097a387db05fbf8036855b7ea7304067e93.tar
build-coordinator-dd817097a387db05fbf8036855b7ea7304067e93.tar.gz
Expose the derived priority to agents
Rather than the priority, as it's the derived priority that they should be using for decision making.
Diffstat (limited to 'guix-build-coordinator/agent.scm')
-rw-r--r--guix-build-coordinator/agent.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/guix-build-coordinator/agent.scm b/guix-build-coordinator/agent.scm
index e399c2f..067fa93 100644
--- a/guix-build-coordinator/agent.scm
+++ b/guix-build-coordinator/agent.scm
@@ -425,10 +425,10 @@
(map (match-lambda
((build-details)
(simple-format
- #f " - ~A (priority: ~A)
+ #f " - ~A (derived priority: ~A)
~A"
(assoc-ref build-details "uuid")
- (assoc-ref build-details "priority")
+ (assoc-ref build-details "derived_priority")
(assoc-ref build-details "derivation-name"))))
(list-jobs))
"\n")
@@ -437,10 +437,10 @@
(map (match-lambda
((build-details _)
(simple-format
- #f " - ~A (priority: ~A)
+ #f " - ~A (derived priority: ~A)
~A"
(assoc-ref build-details "uuid")
- (assoc-ref build-details "priority")
+ (assoc-ref build-details "derived_priority")
(assoc-ref build-details "derivation-name"))))
(list-post-build-jobs))
"\n")))