diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/guix-build-coordinator-agent.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/guix-build-coordinator-agent.in b/scripts/guix-build-coordinator-agent.in index b5c0bd0..f75aaca 100644 --- a/scripts/guix-build-coordinator-agent.in +++ b/scripts/guix-build-coordinator-agent.in @@ -117,7 +117,8 @@ (metrics-file . "/var/lib/prometheus/node-exporter/guix-build-coordinator-agent.prom") (max-1min-load-average - . ,(max (- (total-processor-count) 1) + . ,(max (ceiling + (* 3 (/ (total-processor-count) 4))) 1)))) (define (parse-options options defaults args) |