Set default max waiters for the web resource pool

This commit is contained in:
Christopher Baines 2025-06-28 21:45:14 +02:00
parent 00a5a0a404
commit 8a08c725b3

View file

@ -206,7 +206,7 @@ port. Also, the port used can be changed by passing the --port option.\n"
#:destructor
(lambda (conn)
(close-postgresql-connection conn "web"))
#:default-max-waiters 300
#:default-max-waiters (floor (/ postgresql-connections 2))
#:default-checkout-timeout (/ postgresql-statement-timeout
1000)
#:scheduler priority-scheduler))