mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-19 00:54:38 -04:00
Support for selecting the Redis logical database. (#15034)
Note that this is only used for key-value store (cached values) and not for the pub/sub replication used by Synapse.
This commit is contained in:
parent
5febf88b6c
commit
27a3a72a50
5 changed files with 8 additions and 0 deletions
|
@ -33,4 +33,5 @@ class RedisConfig(Config):
|
|||
|
||||
self.redis_host = redis_config.get("host", "localhost")
|
||||
self.redis_port = redis_config.get("port", 6379)
|
||||
self.redis_dbid = redis_config.get("dbid", None)
|
||||
self.redis_password = redis_config.get("password")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue