aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/guix-build-coordinator-agent.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/guix-build-coordinator-agent.in b/scripts/guix-build-coordinator-agent.in
index 7cfb449..52d77ae 100644
--- a/scripts/guix-build-coordinator-agent.in
+++ b/scripts/guix-build-coordinator-agent.in
@@ -82,6 +82,11 @@
(alist-cons 'max-parallel-builds
(string->number arg)
result)))
+ (option '("max-allocated-builds") #t #f
+ (lambda (opt name arg result)
+ (alist-cons 'max-allocated-builds
+ (string->number arg)
+ result)))
(option '("max-1min-load-average") #t #f
(lambda (opt name arg result)
(alist-cons 'max-1min-load-average
@@ -181,6 +186,7 @@
coordinator-interface
(delete-duplicates (assq-ref opts 'systems))
(assq-ref opts 'max-parallel-builds)
+ (assq-ref opts 'max-allocated-builds)
(assq-ref opts 'max-parallel-uploads)
(or (assq-ref opts 'derivation-substitute-urls)
(assq-ref opts 'substitute-urls))