diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-12-11 10:48:24 +0000 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-12-11 10:48:24 +0000 |
commit | c55361c1b88b272c9a06e7dbc61f60e3effbd063 (patch) | |
tree | 6e7b7dcbbae60e6d052a0ecf8af41610fffc4775 | |
parent | 9c03b0a4fa38971dfe83bd135aefb3c482a18380 (diff) |
Fix max_open_conns in Dendrite sample config
-rw-r--r-- | build/docker/config/dendrite-config.yaml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/build/docker/config/dendrite-config.yaml b/build/docker/config/dendrite-config.yaml index 106ab20d..94dcd992 100644 --- a/build/docker/config/dendrite-config.yaml +++ b/build/docker/config/dendrite-config.yaml @@ -77,7 +77,7 @@ global: # Naffka database options. Not required when using Kafka. naffka_database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_naffka?sslmode=disable - max_open_conns: 100 + max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -98,7 +98,7 @@ app_service_api: connect: http://appservice_api:7777 database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_appservice?sslmode=disable - max_open_conns: 100 + max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -173,7 +173,7 @@ federation_sender: connect: http://federation_sender:7775 database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_federationsender?sslmode=disable - max_open_conns: 100 + max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -199,7 +199,7 @@ key_server: connect: http://key_server:7779 database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_keyserver?sslmode=disable - max_open_conns: 100 + max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -212,7 +212,7 @@ media_api: listen: http://0.0.0.0:8074 database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_mediaapi?sslmode=disable - max_open_conns: 100 + max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -248,7 +248,7 @@ room_server: connect: http://room_server:7770 database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_roomserver?sslmode=disable - max_open_conns: 100 + max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -259,7 +259,7 @@ signing_key_server: connect: http://signing_key_server:7780 database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_signingkeyserver?sslmode=disable - max_open_conns: 100 + max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -288,7 +288,7 @@ sync_api: listen: http://0.0.0.0:8073 database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_syncapi?sslmode=disable - max_open_conns: 100 + max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -299,12 +299,12 @@ user_api: connect: http://user_api:7781 account_database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_account?sslmode=disable - max_open_conns: 100 + max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 device_database: connection_string: postgresql://dendrite:itsasecret@postgres/dendrite_device?sslmode=disable - max_open_conns: 100 + max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 |