Skip to content
Snippets Groups Projects
Unverified Commit c602ba83 authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Fixed undefined variable error in catchup (#9664)


Broke in #9640

Co-authored-by: default avatarPatrick Cloke <clokep@users.noreply.github.com>
parent c2d4bd62
No related branches found
No related tags found
No related merge requests found
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.
...@@ -480,6 +480,8 @@ class PerDestinationQueue: ...@@ -480,6 +480,8 @@ class PerDestinationQueue:
# the other sending servers are up). # the other sending servers are up).
if new_pdus: if new_pdus:
room_catchup_pdus = new_pdus room_catchup_pdus = new_pdus
else:
room_catchup_pdus = [pdu]
logger.info( logger.info(
"Catching up rooms to %s: %r", self._destination, pdu.room_id "Catching up rooms to %s: %r", self._destination, pdu.room_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment