[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Just use map rather than par-map& for deleting de
From: |
Christopher Baines |
Subject: |
branch master updated: Just use map rather than par-map& for deleting derivations |
Date: |
Thu, 08 Oct 2020 03:20:31 -0400 |
This is an automated email from the git hooks/post-receive script.
cbaines pushed a commit to branch master
in repository data-service.
The following commit(s) were added to refs/heads/master by this push:
new 062397e Just use map rather than par-map& for deleting derivations
062397e is described below
commit 062397e82b30f492fb478456098ce6d9bb3e7111
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Oct 8 08:20:03 2020 +0100
Just use map rather than par-map& for deleting derivations
As I think par-map& is probably no faster.
---
guix-data-service/data-deletion.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix-data-service/data-deletion.scm
b/guix-data-service/data-deletion.scm
index 04bae52..7674535 100644
--- a/guix-data-service/data-deletion.scm
+++ b/guix-data-service/data-deletion.scm
@@ -491,7 +491,7 @@ WHERE NOT EXISTS (
(lambda (count result)
(+ result count))
0
- (par-map&
+ (map
(lambda (derivation-id)
(with-thread-postgresql-connection
(lambda (conn)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Just use map rather than par-map& for deleting derivations,
Christopher Baines <=