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:
parent
638e0442c3
commit
688f4cd79d
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue