Spawn specific PostgreSQL connections for the blocked_builds updates

So that the queries don't get cancelled by the statement timeout.
This commit is contained in:
Christopher Baines 2022-11-12 10:46:46 +00:00
parent fc5f562731
commit a34bf4defc

View file

@ -141,7 +141,8 @@
(spawn-fiber (spawn-fiber
(lambda () (lambda ()
(parallel-via-thread-pool-channel (parallel-via-thread-pool-channel
(with-thread-postgresql-connection (with-postgresql-connection
"build-event-handler-conn"
(lambda (conn) (lambda (conn)
(handler conn ids))))))))) (handler conn ids)))))))))