mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
Drop support for redis.dbid (#7450)
Since we only use pubsub, the dbid is irrelevant.
This commit is contained in:
parent
d9b8d27494
commit
da9b2db3af
3 changed files with 2 additions and 4 deletions
|
@ -131,10 +131,9 @@ class ReplicationCommandHandler:
|
|||
import txredisapi
|
||||
|
||||
logger.info(
|
||||
"Connecting to redis (host=%r port=%r DBID=%r)",
|
||||
"Connecting to redis (host=%r port=%r)",
|
||||
hs.config.redis_host,
|
||||
hs.config.redis_port,
|
||||
hs.config.redis_dbid,
|
||||
)
|
||||
|
||||
# We need two connections to redis, one for the subscription stream and
|
||||
|
@ -145,7 +144,6 @@ class ReplicationCommandHandler:
|
|||
outbound_redis_connection = txredisapi.lazyConnection(
|
||||
host=hs.config.redis_host,
|
||||
port=hs.config.redis_port,
|
||||
dbid=hs.config.redis_dbid,
|
||||
password=hs.config.redis.redis_password,
|
||||
reconnect=True,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue