Set request timeouts for the thread pools

The request timeout should ensure that the operations don't back up if the
thread pool is overloaded.
This commit is contained in:
Christopher Baines 2023-04-27 11:54:12 +02:00
parent 638e0442c3
commit 688f4cd79d
1 changed files with 4 additions and 1 deletions

View File

@ -214,7 +214,10 @@
2))
#:idle-seconds 60
#:idle-thunk
close-thread-postgresql-connection)))
close-thread-postgresql-connection))
(thread-pool-request-timeout 10))
(start-guix-data-service-web-server
(assq-ref opts 'port)
(assq-ref opts 'host)