From d33ed58169edc027cfb6c256ecabde87e59918ed Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 23 Nov 2022 19:32:04 +0100 Subject: 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 ()[overload-threshold]: Bump to 0.8. * doc/guix.texi (Daemon Offload Setup): Likewise. --- guix/scripts/offload.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix') 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 -- cgit v1.2.3