[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: Drop the thread pool idle seconds
From: |
Christopher Baines |
Subject: |
01/03: Drop the thread pool idle seconds |
Date: |
Thu, 24 Nov 2022 07:38:11 -0500 (EST) |
cbaines pushed a commit to branch master
in repository data-service.
commit 7ae1c97b923ddcbae656ba2786b90e497d84f6d3
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Nov 24 10:42:16 2022 +0000
Drop the thread pool idle seconds
To hopefully bring down the memory usage from idle connections.
---
scripts/guix-data-service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/guix-data-service.in b/scripts/guix-data-service.in
index 0a8ca28..7653562 100644
--- a/scripts/guix-data-service.in
+++ b/scripts/guix-data-service.in
@@ -184,7 +184,7 @@
(%thread-pool-threads
(assoc-ref opts 'thread-pool-threads))
(%thread-pool-idle-seconds
- 120)
+ 60)
(%thread-pool-idle-thunk
(lambda ()
(close-thread-postgresql-connection))))