From d510281ef023e4fea532f1ec2c7792c91bf5a583 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 6 Nov 2022 23:10:04 -0600 Subject: Reduced number of open connections for dendrite due to startup error. --- dendrite/server/templates/dendrite.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dendrite') diff --git a/dendrite/server/templates/dendrite.yaml.j2 b/dendrite/server/templates/dendrite.yaml.j2 index 2f25775..daecfb2 100644 --- a/dendrite/server/templates/dendrite.yaml.j2 +++ b/dendrite/server/templates/dendrite.yaml.j2 @@ -38,7 +38,7 @@ global: # you must configure the "database" block for each component instead. database: connection_string: postgresql://{{dendrite_db_user}}:{{dendrite_db_pass}}@localhost/{{dendrite_db}}?sslmode=disable - max_open_conns: 100 + max_open_conns: 90 max_idle_conns: 5 conn_max_lifetime: -1 -- cgit v1.2.3