diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-03-08 08:25:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 08:25:43 -0500 |
commit | 58114f8a17a5b52a9b90b89b3c7d9b595307c9a8 (patch) | |
tree | 8695c929c3a6f61934754defcedd66912bfc13fd /synapse/replication | |
parent | Update reverse proxy to add OpenBSD relayd example configuration. (#9508) (diff) | |
download | synapse-58114f8a17a5b52a9b90b89b3c7d9b595307c9a8.tar.xz |
Create a SynapseReactor type which incorporates the necessary reactor interfaces. (#9528)
This helps fix some type hints when running with Twisted 21.2.0.
Diffstat (limited to 'synapse/replication')
-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 0e6155cf53..7560706b4b 100644 --- a/synapse/replication/tcp/redis.py +++ b/synapse/replication/tcp/redis.py @@ -328,6 +328,6 @@ def lazyConnection( factory.continueTrying = reconnect reactor = hs.get_reactor() - reactor.connectTCP(host, port, factory, 30) + reactor.connectTCP(host, port, factory, timeout=30, bindAddress=None) return factory.handler |