mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 10:48:47 -05:00
Rename get_tcp_replication to get_replication_command_handler. (#12192)
Since the object it returns is a ReplicationCommandHandler. This is clean-up from adding support to Redis where the command handler was added as an additional layer of abstraction from the TCP protocol.
This commit is contained in:
parent
a4c1fdb44a
commit
3e4af36bc8
15 changed files with 20 additions and 19 deletions
|
|
@ -417,7 +417,7 @@ class GenericWorkerServer(HomeServer):
|
|||
else:
|
||||
logger.warning("Unsupported listener type: %s", listener.type)
|
||||
|
||||
self.get_tcp_replication().start_replication(self)
|
||||
self.get_replication_command_handler().start_replication(self)
|
||||
|
||||
|
||||
def start(config_options: List[str]) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue