Don't timeout waiting for background pool connections

This commit is contained in:
Christopher Baines 2024-09-08 10:23:16 +01:00
parent aca5f8ca05
commit ea03ca7230

View file

@ -124,7 +124,8 @@
(define (spawn-fiber-for-handler handler) (define (spawn-fiber-for-handler handler)
(spawn-fiber (spawn-fiber
(lambda () (lambda ()
(with-resource-from-pool (background-connection-pool) conn (call-with-resource-from-pool (background-connection-pool)
(lambda (conn)
(with-exception-handler (with-exception-handler
(lambda (exn) (lambda (exn)
(simple-format (simple-format
@ -138,7 +139,8 @@
(lambda _ (lambda _
(display (backtrace) (current-error-port)) (display (backtrace) (current-error-port))
(display "\n" (current-error-port))))) (display "\n" (current-error-port)))))
#:unwind? #t))))) #:unwind? #t))
#:timeout #f))))
(define (with-build-ids-for-status data (define (with-build-ids-for-status data
build-ids build-ids