diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-27 10:27:45 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-12-27 10:36:58 +0000 |
commit | 150d9c4390440dfaf4ac895c5b9a16aaccfac7a7 (patch) | |
tree | 3b7bcb618939c2d334fa193c9291251a2c160cfd | |
parent | cbe9859064dba04d592bdc810cf61b3e87b63b28 (diff) | |
download | data-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.scm | 3 |
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 |