Set default max waiters for the web resource pool
This commit is contained in:
parent
00a5a0a404
commit
8a08c725b3
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ port. Also, the port used can be changed by passing the --port option.\n"
|
||||||
#:destructor
|
#:destructor
|
||||||
(lambda (conn)
|
(lambda (conn)
|
||||||
(close-postgresql-connection conn "web"))
|
(close-postgresql-connection conn "web"))
|
||||||
#:default-max-waiters 300
|
#:default-max-waiters (floor (/ postgresql-connections 2))
|
||||||
#:default-checkout-timeout (/ postgresql-statement-timeout
|
#:default-checkout-timeout (/ postgresql-statement-timeout
|
||||||
1000)
|
1000)
|
||||||
#:scheduler priority-scheduler))
|
#:scheduler priority-scheduler))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue