mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-20 03:54:36 -04: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
|
@ -273,7 +273,7 @@ class SynapseHomeServer(HomeServer):
|
|||
# If redis is enabled we connect via the replication command handler
|
||||
# in the same way as the workers (since we're effectively a client
|
||||
# rather than a server).
|
||||
self.get_tcp_replication().start_replication(self)
|
||||
self.get_replication_command_handler().start_replication(self)
|
||||
|
||||
for listener in self.config.server.listeners:
|
||||
if listener.type == "http":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue