0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 20:33:51 +01:00

Reduce max_open_conns in monolith sample config

This commit is contained in:
Neil Alexander 2022-10-04 11:34:52 +01:00
parent 085bf5e28b
commit a767102f8a
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -37,7 +37,7 @@ global:
# you must configure the "database" block for each component instead. # you must configure the "database" block for each component instead.
database: database:
connection_string: postgresql://username:password@hostname/dendrite?sslmode=disable connection_string: postgresql://username:password@hostname/dendrite?sslmode=disable
max_open_conns: 100 max_open_conns: 90
max_idle_conns: 5 max_idle_conns: 5
conn_max_lifetime: -1 conn_max_lifetime: -1