diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-05-07 16:46:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 16:46:15 +0100 |
commit | da9b2db3af55f8508689f5c5d3aab67c01a3edbd (patch) | |
tree | 03042633b59d352a36e4292a7b32460085da2d07 /synapse/replication | |
parent | Add a configuration setting for the dummy event threshold (#7422) (diff) | |
download | synapse-da9b2db3af55f8508689f5c5d3aab67c01a3edbd.tar.xz |
Drop support for redis.dbid (#7450)
Since we only use pubsub, the dbid is irrelevant.
Diffstat (limited to '')
-rw-r--r-- | synapse/replication/tcp/handler.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/replication/tcp/handler.py b/synapse/replication/tcp/handler.py index b14a3d9fca..4328b38e9d 100644 --- a/synapse/replication/tcp/handler.py +++ b/synapse/replication/tcp/handler.py @@ -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, ) |