aboutsummaryrefslogtreecommitdiff
path: root/scripts/guix-build-coordinator.in
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-05-17 19:25:51 +0100
committerChristopher Baines <mail@cbaines.net>2020-05-17 19:25:51 +0100
commit53e796239d6802cd8955a459dd523c55936a4444 (patch)
tree978540a91ae768da060362d72c7ca2e0be8c33cc /scripts/guix-build-coordinator.in
parent8053c67af3ad3d5a2467a6d12a06562df00c9969 (diff)
downloadbuild-coordinator-53e796239d6802cd8955a459dd523c55936a4444.tar
build-coordinator-53e796239d6802cd8955a459dd523c55936a4444.tar.gz
Change how triggering build allocations works
Associate this with the coordinator, rather than having the logic in the agent communication code.
Diffstat (limited to 'scripts/guix-build-coordinator.in')
-rw-r--r--scripts/guix-build-coordinator.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/guix-build-coordinator.in b/scripts/guix-build-coordinator.in
index c7267e9..41f1ff3 100644
--- a/scripts/guix-build-coordinator.in
+++ b/scripts/guix-build-coordinator.in
@@ -426,9 +426,7 @@ processed?: ~A
;; restore original C handler.
(sigaction SIGINT #f))))))
- (let* ((trigger-build-allocation
- (make-build-allocator-thread build-coordinator))
- (agent-communication-thunk
+ (let* ((agent-communication-thunk
(let ((agent-communication-uri
(string->uri (assq-ref opts 'agent-communication))))
(match (uri-scheme agent-communication-uri)
@@ -448,8 +446,7 @@ processed?: ~A
host
(assq-ref opts 'secret-key-base)
build-coordinator
- chunked-request-channel
- trigger-build-allocation))))))))
+ chunked-request-channel)))))))
(start-hook-processing-thread build-coordinator)
(trigger-build-allocation build-coordinator)