Have the background resource pool users be very patient

This commit is contained in:
Christopher Baines 2024-11-05 09:41:46 +00:00
parent 6bf1747f55
commit 717b861d31

View file

@ -124,6 +124,8 @@
(define (spawn-fiber-for-handler handler) (define (spawn-fiber-for-handler handler)
(spawn-fiber (spawn-fiber
(lambda () (lambda ()
(parameterize
((resource-pool-retry-checkout-timeout (* 60 60 6)))
(call-with-resource-from-pool (background-connection-pool) (call-with-resource-from-pool (background-connection-pool)
(lambda (conn) (lambda (conn)
(with-exception-handler (with-exception-handler
@ -140,7 +142,7 @@
(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)))) #:timeout #f)))))
(define (with-build-ids-for-status data (define (with-build-ids-for-status data
build-ids build-ids