summary refs log tree commit diff
path: root/synapse/replication/resource.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-27 14:11:17 +0100
committerErik Johnston <erik@matrix.org>2017-03-30 12:54:36 +0100
commit11880103b13146aa8e700827f36c81a26fb8e09e (patch)
treef8f9f53e9472ea3b0ad3bb9554e7dd822875246b /synapse/replication/resource.py
parentAdd a simple hook to wait for replication traffic (diff)
downloadsynapse-11880103b13146aa8e700827f36c81a26fb8e09e.tar.xz
Make federation send queue take the current position
Diffstat (limited to 'synapse/replication/resource.py')
-rw-r--r--synapse/replication/resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/resource.py b/synapse/replication/resource.py
index 2d3ec2eca2..abd3fe7665 100644
--- a/synapse/replication/resource.py
+++ b/synapse/replication/resource.py
@@ -489,7 +489,7 @@ class ReplicationResource(Resource):
 
         if federation is not None and federation != current_position:
             federation_rows = self.federation_sender.get_replication_rows(
-                federation, limit, federation_ack=federation_ack,
+                federation, current_position, limit, federation_ack=federation_ack,
             )
             upto_token = _position_from_rows(federation_rows, current_position)
             writer.write_header_and_rows("federation", federation_rows, (