Remove vestigal references to SYNC replication command

We've ripped pretty much all of this out: let's remove the remains.
This commit is contained in:
Richard van der Hoff 2020-04-07 16:59:40 +01:00
parent 2e105c156b
commit 6a519a0ca0
2 changed files with 0 additions and 14 deletions

View file

@ -31,7 +31,6 @@ from synapse.replication.tcp.commands import (
RemoteServerUpCommand,
RemovePusherCommand,
ReplicateCommand,
SyncCommand,
UserIpCommand,
UserSyncCommand,
)
@ -281,9 +280,6 @@ class ReplicationCommandHandler:
self._streams_connected.add(cmd.stream_name)
async def on_SYNC(self, cmd: SyncCommand):
pass
async def on_REMOTE_SERVER_UP(self, cmd: RemoteServerUpCommand):
""""Called when get a new REMOTE_SERVER_UP command."""
self._replication_data_handler.on_remote_server_up(cmd.data)