Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fixed undefined variable error in catchup #9664

Merged
merged 3 commits into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/9664.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve performance of federation catch up by sending events the latest events in the room to the remote, rather than just the last event sent by the local server.
2 changes: 2 additions & 0 deletions synapse/federation/sender/per_destination_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,8 @@ async def _catch_up_transmission_loop(self) -> None:
# the other sending servers are up).
if new_pdus:
room_catchup_pdus = new_pdus
else:
room_catchup_pdus = [pdu]

logger.info(
"Catching up rooms to %s: %r", self._destination, pdu.room_id
Expand Down