diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-03-15 11:14:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 11:14:39 -0400 |
commit | d29b71aa50f568c3b951b95f2ea3009292b95630 (patch) | |
tree | 716219dfb3531e33e99333f2f48131c968d5cec0 /synapse/replication/tcp/redis.py | |
parent | Don't go into federation catch up mode so easily (#9561) (diff) | |
download | synapse-d29b71aa50f568c3b951b95f2ea3009292b95630.tar.xz |
Fix remaining mypy issues due to Twisted upgrade. (#9608)
Diffstat (limited to 'synapse/replication/tcp/redis.py')
-rw-r--r-- | synapse/replication/tcp/redis.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/tcp/redis.py b/synapse/replication/tcp/redis.py index 7cccde097d..2f4d407f94 100644 --- a/synapse/replication/tcp/redis.py +++ b/synapse/replication/tcp/redis.py @@ -365,6 +365,6 @@ def lazyConnection( factory.continueTrying = reconnect reactor = hs.get_reactor() - reactor.connectTCP(host, port, factory, timeout=30, bindAddress=None) + reactor.connectTCP(host.encode(), port, factory, timeout=30, bindAddress=None) return factory.handler |