diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-23 18:20:44 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-12-23 18:20:44 +0000 |
commit | 28342e3f951fa9e6125a6062afd43fee7e651849 (patch) | |
tree | 56fd91f8bbcb9a85dea7abfc9e72f3c43527cc13 /scripts | |
parent | e1a4df900d87c4af63dc33aa5aabba821ac2be1f (diff) | |
download | build-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.in | 6 |
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))) |