Allow starting multiple database connections at once

This commit is contained in:
Christopher Baines 2025-07-01 19:03:14 +01:00
parent 8640958af7
commit c6366605a5

View file

@ -195,6 +195,8 @@ port. Also, the port used can be changed by passing the --port option.\n"
#:destructor
(lambda (conn)
(close-postgresql-connection conn "web"))
#:add-resources-parallelism
(floor (/ postgresql-connections 2))
#:default-max-waiters (floor (/ postgresql-connections 2))
#:default-checkout-timeout (/ postgresql-statement-timeout
1000)))
@ -211,6 +213,8 @@ port. Also, the port used can be changed by passing the --port option.\n"
#:destructor
(lambda (conn)
(close-postgresql-connection conn "web-reserved"))
#:add-resources-parallelism
(floor (/ postgresql-connections 2))
#:default-max-waiters postgresql-connections
#:default-checkout-timeout 6)))