Drop the thread pool idle seconds

To hopefully bring down the memory usage from idle connections.
This commit is contained in:
Christopher Baines 2022-11-24 10:42:16 +00:00
parent 2cf187f10b
commit 7ae1c97b92

View file

@ -184,7 +184,7 @@
(%thread-pool-threads (%thread-pool-threads
(assoc-ref opts 'thread-pool-threads)) (assoc-ref opts 'thread-pool-threads))
(%thread-pool-idle-seconds (%thread-pool-idle-seconds
120) 60)
(%thread-pool-idle-thunk (%thread-pool-idle-thunk
(lambda () (lambda ()
(close-thread-postgresql-connection)))) (close-thread-postgresql-connection))))