mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:06:05 -04:00
Make federation send queue take the current position
This commit is contained in:
parent
7984708a55
commit
11880103b1
2 changed files with 26 additions and 16 deletions
|
@ -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, (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue