diff options
author | Erik Johnston <erik@matrix.org> | 2017-03-27 14:11:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-03-30 12:54:36 +0100 |
commit | 11880103b13146aa8e700827f36c81a26fb8e09e (patch) | |
tree | f8f9f53e9472ea3b0ad3bb9554e7dd822875246b /synapse/replication | |
parent | Add a simple hook to wait for replication traffic (diff) | |
download | synapse-11880103b13146aa8e700827f36c81a26fb8e09e.tar.xz |
Make federation send queue take the current position
Diffstat (limited to 'synapse/replication')
-rw-r--r-- | synapse/replication/resource.py | 2 |
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, ( |