mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-07 16:12:43 +00:00
Merge pull request #1226 from hifi/feature/synapse-txn-limit
Allow configuring synapse database transaction limit
This commit is contained in:
commit
e27539ad60
|
@ -453,6 +453,7 @@ matrix_synapse_replication_http_port: 9093
|
||||||
matrix_synapse_sentry_dsn: ""
|
matrix_synapse_sentry_dsn: ""
|
||||||
|
|
||||||
# Postgres database information
|
# Postgres database information
|
||||||
|
matrix_synapse_database_txn_limit: 0
|
||||||
matrix_synapse_database_host: "matrix-postgres"
|
matrix_synapse_database_host: "matrix-postgres"
|
||||||
matrix_synapse_database_port: 5432
|
matrix_synapse_database_port: 5432
|
||||||
matrix_synapse_database_user: "synapse"
|
matrix_synapse_database_user: "synapse"
|
||||||
|
|
|
@ -777,6 +777,7 @@ caches:
|
||||||
database:
|
database:
|
||||||
# The database engine name
|
# The database engine name
|
||||||
name: "psycopg2"
|
name: "psycopg2"
|
||||||
|
txn_limit: {{ matrix_synapse_database_txn_limit }}
|
||||||
args:
|
args:
|
||||||
user: {{ matrix_synapse_database_user|string|to_json }}
|
user: {{ matrix_synapse_database_user|string|to_json }}
|
||||||
password: {{ matrix_synapse_database_password|string|to_json }}
|
password: {{ matrix_synapse_database_password|string|to_json }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user