summary refs log tree commit diff
path: root/synapse/replication/tcp/commands.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-02-27 11:00:59 +0000
committerGitHub <noreply@github.com>2019-02-27 11:00:59 +0000
commit7590e9fa285afac717132b16cbcba4e8b19943dd (patch)
tree40ab9e389596559b7119054ffc62e57c64bf4f90 /synapse/replication/tcp/commands.py
parent0.99.2rc1 (diff)
parentMove connecting logic into ClientReplicationStreamProtocol (diff)
downloadsynapse-7590e9fa285afac717132b16cbcba4e8b19943dd.tar.xz
Merge pull request #4749 from matrix-org/erikj/replication_connection_backoff
Fix tightloop over connecting to replication server
Diffstat (limited to 'synapse/replication/tcp/commands.py')
-rw-r--r--synapse/replication/tcp/commands.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/replication/tcp/commands.py b/synapse/replication/tcp/commands.py
index 327556f6a1..2098c32a77 100644
--- a/synapse/replication/tcp/commands.py
+++ b/synapse/replication/tcp/commands.py
@@ -127,8 +127,11 @@ class RdataCommand(Command):
 
 
 class PositionCommand(Command):
-    """Sent by the client to tell the client the stream postition without
+    """Sent by the server to tell the client the stream postition without
     needing to send an RDATA.
+
+    Sent to the client after all missing updates for a stream have been sent
+    to the client and they're now up to date.
     """
     NAME = "POSITION"