summary refs log tree commit diff
path: root/synapse/replication/tcp/commands.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/commands.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/commands.py')
-rw-r--r--synapse/replication/tcp/commands.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/synapse/replication/tcp/commands.py b/synapse/replication/tcp/commands.py
index e4eec643f7..a07a01278a 100644
--- a/synapse/replication/tcp/commands.py
+++ b/synapse/replication/tcp/commands.py
@@ -289,14 +289,6 @@ class FederationAckCommand(Command):
         return str(self.token)
 
 
-class SyncCommand(Command):
-    """Used for testing. The client protocol implementation allows waiting
-    on a SYNC command with a specified data.
-    """
-
-    NAME = "SYNC"
-
-
 class RemovePusherCommand(Command):
     """Sent by the client to request the master remove the given pusher.
 
@@ -419,7 +411,6 @@ _COMMANDS = (
     ReplicateCommand,
     UserSyncCommand,
     FederationAckCommand,
-    SyncCommand,
     RemovePusherCommand,
     InvalidateCacheCommand,
     UserIpCommand,
@@ -437,7 +428,6 @@ VALID_SERVER_COMMANDS = (
     PositionCommand.NAME,
     ErrorCommand.NAME,
     PingCommand.NAME,
-    SyncCommand.NAME,
     RemoteServerUpCommand.NAME,
 )