summaryrefslogtreecommitdiff
path: root/guix/scripts/offload.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-11-23 19:32:04 +0100
committerLudovic Courtès <ludo@gnu.org>2022-11-23 19:34:42 +0100
commitd33ed58169edc027cfb6c256ecabde87e59918ed (patch)
tree37806e2843d8a947d79179ab4b07fbd36f85d1e4 /guix/scripts/offload.scm
parent02a4e54250e81664a797466edba46b017ae1a7b0 (diff)
downloadguix-patches-d33ed58169edc027cfb6c256ecabde87e59918ed.tar
guix-patches-d33ed58169edc027cfb6c256ecabde87e59918ed.tar.gz
offload: Increase default 'overload-threshold' value.
When offloading to a single machine, the previous default value would lead 'guix offload' to wait possibly for several minutes between subsequent builds until normalized load would finally go below 0.6. Increasing it mitigates that. * guix/scripts/offload.scm (<build-machine>)[overload-threshold]: Bump to 0.8. * doc/guix.texi (Daemon Offload Setup): Likewise.
Diffstat (limited to 'guix/scripts/offload.scm')
-rw-r--r--guix/scripts/offload.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm
index 8ab393c0ac..578b3b9888 100644
--- a/guix/scripts/offload.scm
+++ b/guix/scripts/offload.scm
@@ -112,7 +112,7 @@
;; A #f value tells the offload scheduler to disregard the load of the build
;; machine when selecting the best offload machine.
(overload-threshold build-machine-overload-threshold ; inexact real between
- (default 0.6)) ; 0.0 and 1.0 | #f
+ (default 0.8)) ; 0.0 and 1.0 | #f
(parallel-builds build-machine-parallel-builds ; number
(default 1))
(speed build-machine-speed ; inexact real