aboutsummaryrefslogtreecommitdiff
path: root/dendrite-sample.monolith.yaml
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-10-04 11:34:52 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-10-04 11:34:52 +0100
commita767102f8a74031b5d0612d985c7589dfe0e0821 (patch)
treebef3d368eb9555bf9dca830f7956d7234ffb6066 /dendrite-sample.monolith.yaml
parent085bf5e28b49948209b464c5b12c02775e6c1d70 (diff)
Reduce `max_open_conns` in monolith sample config
Diffstat (limited to 'dendrite-sample.monolith.yaml')
-rw-r--r--dendrite-sample.monolith.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/dendrite-sample.monolith.yaml b/dendrite-sample.monolith.yaml
index e41e83d7..f0fa386d 100644
--- a/dendrite-sample.monolith.yaml
+++ b/dendrite-sample.monolith.yaml
@@ -37,7 +37,7 @@ global:
# you must configure the "database" block for each component instead.
database:
connection_string: postgresql://username:password@hostname/dendrite?sslmode=disable
- max_open_conns: 100
+ max_open_conns: 90
max_idle_conns: 5
conn_max_lifetime: -1