2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00

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
(lambda ()
(parallel-via-thread-pool-channel
(with-thread-postgresql-connection
(with-postgresql-connection
"build-event-handler-conn"
(lambda (conn)
(handler conn ids)))))))))