aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-12-23 18:20:44 +0000
committerChristopher Baines <mail@cbaines.net>2020-12-23 18:20:44 +0000
commit28342e3f951fa9e6125a6062afd43fee7e651849 (patch)
tree56fd91f8bbcb9a85dea7abfc9e72f3c43527cc13 /scripts
parente1a4df900d87c4af63dc33aa5aabba821ac2be1f (diff)
downloadbuild-coordinator-28342e3f951fa9e6125a6062afd43fee7e651849.tar
build-coordinator-28342e3f951fa9e6125a6062afd43fee7e651849.tar.gz
Switch to using the 1 minute load average
So that it's more responsive.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/guix-build-coordinator-agent.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/guix-build-coordinator-agent.in b/scripts/guix-build-coordinator-agent.in
index ce4742e..4d0666d 100644
--- a/scripts/guix-build-coordinator-agent.in
+++ b/scripts/guix-build-coordinator-agent.in
@@ -57,9 +57,9 @@
(alist-cons 'max-parallel-builds
(string->number arg)
result)))
- (option '("max-5min-load-average") #t #f
+ (option '("max-1min-load-average") #t #f
(lambda (opt name arg result)
- (alist-cons 'max-5min-load-average
+ (alist-cons 'max-1min-load-average
(string->number arg)
result)))
(option '("substitute-urls") #t #f
@@ -124,4 +124,4 @@
(or (assq-ref opts 'non-derivation-substitute-urls)
(assq-ref opts 'substitute-urls))
(assq-ref opts 'metrics-file)
- (assq-ref opts 'max-5min-load-average)))
+ (assq-ref opts 'max-1min-load-average)))