aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-02-24 18:50:34 +0000
committerChristopher Baines <mail@cbaines.net>2020-02-24 18:50:34 +0000
commitf57b5c4a9a932f77952585f547671c12d8103b02 (patch)
treeeecaabb611f933a1280cc468ec89e68ce3297fb1 /guix-data-service
parentcee9acaa87212c84d09500c5cda823746a8ee18d (diff)
downloaddata-service-f57b5c4a9a932f77952585f547671c12d8103b02.tar
data-service-f57b5c4a9a932f77952585f547671c12d8103b02.tar.gz
Add missing ROLLBACK for transaction
Diffstat (limited to 'guix-data-service')
-rw-r--r--guix-data-service/jobs/load-new-guix-revision.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm b/guix-data-service/jobs/load-new-guix-revision.scm
index 0025227..620a3a6 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -1643,5 +1643,6 @@ SKIP LOCKED")
(record-job-event conn id "failure")
#f)))
(()
+ (exec-query conn "ROLLBACK")
(simple-format #t "job ~A not found to be processed\n"
id))))))