diff options
author | Christopher Baines <mail@cbaines.net> | 2023-01-30 12:22:34 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-01-30 13:21:38 +0000 |
commit | 620ebbba55bfe8c001caf03aac74ed298f1f9669 (patch) | |
tree | 80c56e883301f88926d96e841f90bd2f639425f3 /guix-build-coordinator/agent.scm | |
parent | 751910162c54d0bf85fa5a21c25ad229cb12828d (diff) | |
download | build-coordinator-620ebbba55bfe8c001caf03aac74ed298f1f9669.tar build-coordinator-620ebbba55bfe8c001caf03aac74ed298f1f9669.tar.gz |
Try to improve protections against getting stuck when substituting
I think the agent and coordinator can get stuck when talking to the
guix-daemon to substitute things, potentially because the Guile code involved
on the daemon side isn't guarding against getting stuck. Try to work around
this here by setting timeouts on the connection to the daemon.
Diffstat (limited to 'guix-build-coordinator/agent.scm')
-rw-r--r-- | guix-build-coordinator/agent.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guix-build-coordinator/agent.scm b/guix-build-coordinator/agent.scm index c5aeeb9..77e0c73 100644 --- a/guix-build-coordinator/agent.scm +++ b/guix-build-coordinator/agent.scm @@ -677,6 +677,8 @@ but the guix-daemon claims it's unavailable" (lambda () (with-port-timeouts (lambda () + (set-store-connection-timeout + fetch-substitute-store) (parameterize ((current-build-output-port log-port)) (build-things fetch-substitute-store |