mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 01:54:48 -04:00
Use direct references for configuration variables (part 5). (#10897)
This commit is contained in:
parent
85551b7a85
commit
bb7fdd821b
48 changed files with 128 additions and 113 deletions
|
@ -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]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue