From 7ae1c97b923ddcbae656ba2786b90e497d84f6d3 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 24 Nov 2022 10:42:16 +0000 Subject: 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(-) (limited to 'scripts') 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)))) -- cgit v1.2.3