[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: hydra: berlin: Set max-jobs to 20.
From: |
Ludovic Courtès |
Subject: |
01/01: hydra: berlin: Set max-jobs to 20. |
Date: |
Mon, 22 Jan 2018 10:22:31 -0500 (EST) |
civodul pushed a commit to branch master
in repository maintenance.
commit 813759718776867065ed1f97c30ae01e1fc690b3
Author: Ludovic Courtès <address@hidden>
Date: Mon Jan 22 16:20:34 2018 +0100
hydra: berlin: Set max-jobs to 20.
* hydra/modules/sysadmin/services.scm (guix-daemon-config): Add
'build-accounts' field.
* hydra/berlin-new.scm <top level>: Pass #:max-jobs.
---
hydra/berlin-new.scm | 3 ++-
hydra/modules/sysadmin/services.scm | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/hydra/berlin-new.scm b/hydra/berlin-new.scm
index fe6c60f..b6e2e0c 100644
--- a/hydra/berlin-new.scm
+++ b/hydra/berlin-new.scm
@@ -155,4 +155,5 @@ Happy hacking!\n"))
(frontend-services %sysadmins
#:motd %motd
#:nginx-config-file
- (file-append %nginx-config "/berlin.conf")))))
+ (file-append %nginx-config "/berlin.conf")
+ #:max-jobs 20))))
diff --git a/hydra/modules/sysadmin/services.scm
b/hydra/modules/sysadmin/services.scm
index fe242eb..188dab4 100644
--- a/hydra/modules/sysadmin/services.scm
+++ b/hydra/modules/sysadmin/services.scm
@@ -50,6 +50,7 @@
(timeout (* 4 max-silent-time))
(log-compression 'gzip) ;be friendly to 'guix publish' users
+ (build-accounts (* 2 max-jobs))
(extra-options (list "--max-jobs" (number->string max-jobs)
"--cores" (number->string cores)
"--cache-failures"