diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-09-24 07:25:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 07:25:21 -0400 |
commit | bb7fdd821b07016a43bdbb245eda5b35356863c0 (patch) | |
tree | 090b0840e4ba0e6441ec5b4a79ad02d0b56b1be4 /synapse/replication/tcp/handler.py | |
parent | Factor out common code for persisting fetched auth events (#10896) (diff) | |
download | synapse-bb7fdd821b07016a43bdbb245eda5b35356863c0.tar.xz |
Use direct references for configuration variables (part 5). (#10897)
Diffstat (limited to 'synapse/replication/tcp/handler.py')
-rw-r--r-- | synapse/replication/tcp/handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/replication/tcp/handler.py b/synapse/replication/tcp/handler.py index 509ed7fb13..1438a82b60 100644 --- a/synapse/replication/tcp/handler.py +++ b/synapse/replication/tcp/handler.py @@ -322,8 +322,8 @@ class ReplicationCommandHandler: else: client_name = hs.get_instance_name() self._factory = DirectTcpReplicationClientFactory(hs, client_name, self) - host = hs.config.worker_replication_host - port = hs.config.worker_replication_port + host = hs.config.worker.worker_replication_host + port = hs.config.worker.worker_replication_port hs.get_reactor().connectTCP(host.encode(), port, self._factory) def get_streams(self) -> Dict[str, Stream]: |