diff options
author | Christopher Baines <mail@cbaines.net> | 2020-02-24 18:50:34 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-02-24 18:50:34 +0000 |
commit | f57b5c4a9a932f77952585f547671c12d8103b02 (patch) | |
tree | eecaabb611f933a1280cc468ec89e68ce3297fb1 | |
parent | cee9acaa87212c84d09500c5cda823746a8ee18d (diff) | |
download | data-service-f57b5c4a9a932f77952585f547671c12d8103b02.tar data-service-f57b5c4a9a932f77952585f547671c12d8103b02.tar.gz |
Add missing ROLLBACK for transaction
-rw-r--r-- | guix-data-service/jobs/load-new-guix-revision.scm | 1 |
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)))))) |