diff options
author | Christopher Baines <mail@cbaines.net> | 2022-11-24 10:42:16 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-11-24 12:37:45 +0000 |
commit | 7ae1c97b923ddcbae656ba2786b90e497d84f6d3 (patch) | |
tree | 47f82b7192aaa020371b1c3f840b1c8e621f7207 | |
parent | 2cf187f10beeaad09a5a69f34c879e1fce885145 (diff) | |
download | data-service-7ae1c97b923ddcbae656ba2786b90e497d84f6d3.tar data-service-7ae1c97b923ddcbae656ba2786b90e497d84f6d3.tar.gz |
Drop the thread pool idle seconds
To hopefully bring down the memory usage from idle connections.
-rw-r--r-- | scripts/guix-data-service.in | 2 |
1 files changed, 1 insertions, 1 deletions
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)))) |