summary refs log tree commit diff
path: root/synapse/replication/tcp/handler.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-04-07 16:59:40 +0100
committerRichard van der Hoff <richard@matrix.org>2020-04-07 17:40:07 +0100
commit6a519a0ca06f42c35d5c88f3fa5f62cfd1553905 (patch)
tree15320c7f5990a6642b43667a43477751f8d9b64d /synapse/replication/tcp/handler.py
parentRemove sent outbound device list pokes from the database (#7192) (diff)
downloadsynapse-6a519a0ca06f42c35d5c88f3fa5f62cfd1553905.tar.xz
Remove vestigal references to SYNC replication command
We've ripped pretty much all of this out: let's remove the remains.
Diffstat (limited to 'synapse/replication/tcp/handler.py')
-rw-r--r--synapse/replication/tcp/handler.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/replication/tcp/handler.py b/synapse/replication/tcp/handler.py
index dd71d1bc34..2f5a299141 100644
--- a/synapse/replication/tcp/handler.py
+++ b/synapse/replication/tcp/handler.py
@@ -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)