mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-10 05:34:57 -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
|
@ -827,6 +827,7 @@ class HomeServer(metaclass=abc.ABCMeta):
|
|||
hs=self,
|
||||
host=self.config.redis.redis_host,
|
||||
port=self.config.redis.redis_port,
|
||||
dbid=self.config.redis.redis_dbid,
|
||||
password=self.config.redis.redis_password,
|
||||
reconnect=True,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue