aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-12-27 10:27:45 +0000
committerChristopher Baines <mail@cbaines.net>2020-12-27 10:36:58 +0000
commit150d9c4390440dfaf4ac895c5b9a16aaccfac7a7 (patch)
tree3b7bcb618939c2d334fa193c9291251a2c160cfd
parentcbe9859064dba04d592bdc810cf61b3e87b63b28 (diff)
downloaddata-service-150d9c4390440dfaf4ac895c5b9a16aaccfac7a7.tar
data-service-150d9c4390440dfaf4ac895c5b9a16aaccfac7a7.tar.gz
Don't try to start a new transaction inside processing build events
As it uses a transaction with a wider scope.
-rw-r--r--guix-data-service/web/build-server/controller.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/web/build-server/controller.scm b/guix-data-service/web/build-server/controller.scm
index 8587278..a91a1b0 100644
--- a/guix-data-service/web/build-server/controller.scm
+++ b/guix-data-service/web/build-server/controller.scm
@@ -135,7 +135,8 @@
(lambda (item-data)
(list (assoc-ref item-data "timestamp")
(assoc-ref item-data "event")))
- items)))))
+ items)
+ #:transaction? #f))))
(define (process-items items)
(parallel-via-thread-pool-channel