[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Use with-db-writer-worker-thread/force macro.
From: |
Mathieu Othacehe |
Subject: |
branch master updated: Use with-db-writer-worker-thread/force macro. |
Date: |
Thu, 15 Oct 2020 04:45:55 -0400 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix-cuirass.
The following commit(s) were added to refs/heads/master by this push:
new f141dd2 Use with-db-writer-worker-thread/force macro.
f141dd2 is described below
commit f141dd205a3f818790de346e6c99d9d898057c05
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Thu Oct 15 10:45:13 2020 +0200
Use with-db-writer-worker-thread/force macro.
* src/cuirass/database.scm (db-register-builds): Use
"with-db-writer-worker-thread/force" macro.
---
src/cuirass/database.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/cuirass/database.scm b/src/cuirass/database.scm
index 31e65f6..fc3eb00 100644
--- a/src/cuirass/database.scm
+++ b/src/cuirass/database.scm
@@ -736,8 +736,7 @@ path) VALUES ("
;; Use the database worker dedicated to write queries. We don't want this
;; query to be queued as it is already a quite large transaction by itself,
;; so pass the #:FORCE? option.
- (with-db-writer-worker-thread db
- #:force? #t
+ (with-db-writer-worker-thread/force db
(log-message "Registering builds for evaluation ~a." eval-id)
(sqlite-exec db "BEGIN TRANSACTION;")
(let ((derivations (filter-map register jobs)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Use with-db-writer-worker-thread/force macro.,
Mathieu Othacehe <=