From 9c155031960d5d9a0c8fddf97bf37c88146eedce Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 10 Apr 2023 10:06:24 +0100 Subject: Add priority support to create-work-queue This isn't ideal as the process-job interface changes when you enable prioritisation, but that's not a big issue. This should enable prioritising post build operations. --- guix-build-coordinator/utils.scm | 43 +++++++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/guix-build-coordinator/utils.scm b/guix-build-coordinator/utils.scm index 005ebc8..0aaba2e 100644 --- a/guix-build-coordinator/utils.scm +++ b/guix-build-coordinator/utils.scm @@ -968,7 +968,8 @@ References: ~a~%" #:key thread-start-delay (thread-stop-delay (make-time time-duration 0 0)) - (name "unnamed")) + (name "unnamed") + priority