Copy the port monitoring fiber from the build coordinator

As the data service has the same issue where it stops listening on the port.
This commit is contained in:
Christopher Baines 2024-02-13 09:59:39 +00:00
parent 76712e2b00
commit 26a751570c
2 changed files with 168 additions and 1 deletions

View file

@ -144,6 +144,11 @@ port. Also, the port used can be changed by passing the --port option.\n"
#:host host
#:port port))
#:unwind? #t)))
;; Guile sometimes just seems to stop listening on the port, so try
;; and detect this and quit
(spawn-port-monitoring-fiber port finished?)
(wait finished?))
#:parallelism 4))
finished?)))