Merge pull request #3049 from Michael-Hollister/michael/synapse-add-cp-config-variables

Added Synapse connection pool config variables
This commit is contained in:
Slavi Pantaleev 2023-12-17 09:18:21 +02:00 committed by GitHub
commit 64db27c7fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -785,6 +785,8 @@ matrix_synapse_sentry_dsn: ""
matrix_synapse_database_txn_limit: 0
matrix_synapse_database_host: ''
matrix_synapse_database_port: 5432
matrix_synapse_database_cp_min: 5
matrix_synapse_database_cp_max: 10
matrix_synapse_database_user: "synapse"
matrix_synapse_database_password: ""
matrix_synapse_database_database: "synapse"

View File

@ -874,8 +874,8 @@ database:
database: "{{ matrix_synapse_database_database }}"
host: "{{ matrix_synapse_database_host }}"
port: {{ matrix_synapse_database_port }}
cp_min: 5
cp_max: 10
cp_min: {{ matrix_synapse_database_cp_min | to_json }}
cp_max: {{ matrix_synapse_database_cp_max | to_json }}
## Logging ##