guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: Drop default thread count for make-postgresql-connection-channel


From: Christopher Baines
Subject: 01/02: Drop default thread count for make-postgresql-connection-channel
Date: Thu, 1 Oct 2020 16:49:53 -0400 (EDT)

cbaines pushed a commit to branch master
in repository data-service.

commit 404f39a9ee0132d332550067394c37cf4db83f51
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Oct 1 19:41:13 2020 +0100

    Drop default thread count for make-postgresql-connection-channel
    
    At least for data deletion, 4 seems unnecessary.
---
 guix-data-service/database.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix-data-service/database.scm b/guix-data-service/database.scm
index 8298b93..60115ad 100644
--- a/guix-data-service/database.scm
+++ b/guix-data-service/database.scm
@@ -74,7 +74,7 @@
 (define* (make-postgresql-connection-channel name
                                              #:key
                                              (statement-timeout #f)
-                                             (threads 4))
+                                             (threads 2))
   (parameterize (((@@ (fibers internal) current-fiber) #f))
     (let ((channel (make-channel)))
       (for-each



reply via email to

[Prev in Thread] Current Thread [Next in Thread]