7
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-01-01 00:57:13 +00:00

Allow configuring synapse database transaction limit

This commit is contained in:
Toni Spets 2021-08-10 21:09:28 +03:00
parent 05ad620386
commit bce94c5860
2 changed files with 2 additions and 0 deletions
roles/matrix-synapse
defaults
templates/synapse

View File

@ -453,6 +453,7 @@ matrix_synapse_replication_http_port: 9093
matrix_synapse_sentry_dsn: ""
# Postgres database information
matrix_synapse_database_txn_limit: 0
matrix_synapse_database_host: "matrix-postgres"
matrix_synapse_database_port: 5432
matrix_synapse_database_user: "synapse"

View File

@ -777,6 +777,7 @@ caches:
database:
# The database engine name
name: "psycopg2"
txn_limit: {{ matrix_synapse_database_txn_limit }}
args:
user: {{ matrix_synapse_database_user|string|to_json }}
password: {{ matrix_synapse_database_password|string|to_json }}