[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: hydra: bayfront: Run some build coordinator hooks in parallel.
From: |
Christopher Baines |
Subject: |
01/02: hydra: bayfront: Run some build coordinator hooks in parallel. |
Date: |
Thu, 7 Jul 2022 17:33:27 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository maintenance.
commit 8d39e094b03871c41d2654259fd51c85d5f707b9
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Jul 7 22:26:12 2022 +0100
hydra: bayfront: Run some build coordinator hooks in parallel.
This helps the coordinator keep up when there are lots of builds
submitted or succeeding all at once.
* hydra/bayfront.scm (%guix-build-coordinator-configuration): Set
parallel-hooks in the guix-build-coordinator-configuration.
---
hydra/bayfront.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 8692c1c..72b7df7 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -717,6 +717,11 @@ add_header Content-Type text/plain;")))
"http://127.0.0.1:8745") ; only listen locally
(allocation-strategy
#~derivation-ordered-build-allocation-strategy)
+ (parallel-hooks
+ '((build-submitted . 6)
+ (build-canceled . 6)
+ (build-started . 2)
+ (build-success . 4)))
(hooks
`((build-submitted
. ,#~(lambda args