Don't timeout waiting for background pool connections
This commit is contained in:
parent
aca5f8ca05
commit
ea03ca7230
1 changed files with 17 additions and 15 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue