Retry processing background queue jobs on exception

This commit is contained in:
Christopher Baines 2025-07-01 13:33:22 +01:00
parent f1e444babe
commit 8640958af7

View file

@ -235,8 +235,9 @@ port. Also, the port used can be changed by passing the --port option.\n"
(while (not (check-startup-completed startup-completed))
(sleep 1))
(while
(with-exception-handler
(lambda _ #f)
(lambda _ #t)
(lambda ()
(with-exception-handler
(lambda (exn)
@ -282,8 +283,10 @@ port. Also, the port used can be changed by passing the --port option.\n"
(assq-ref (resource-pool-stats (background-connection-pool)
#:timeout #f)
'resources)
build-ids)))))
#:unwind? #t))
build-ids))
#f)))
#:unwind? #t)
(sleep 20)))
#:parallel? #t)
(spawn-fiber