Merge pull request #3251 from etkecc/synapse-redis-dbid

add matrix_synapse_redis_dbid var
This commit is contained in:
Slavi Pantaleev 2024-04-02 08:56:32 +03:00 committed by GitHub
commit 3e57c9f6e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -1038,6 +1038,7 @@ matrix_synapse_redis_enabled: false
matrix_synapse_redis_host: ""
matrix_synapse_redis_port: 6379
matrix_synapse_redis_password: ""
matrix_synapse_redis_dbid: 0
# Controls whether Synapse starts a replication listener necessary for workers.
#

View File

@ -2921,6 +2921,9 @@ redis:
host: {{ matrix_synapse_redis_host }}
port: {{ matrix_synapse_redis_port }}
# Optional database ID to connect to. Defaults to 0.
dbid: {{ matrix_synapse_redis_dbid }}
# Optional password if configured on the Redis instance
#
password: {{ matrix_synapse_redis_password }}