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