From c1a2b680c48c742d80201e539cb1f8f9fd486fc1 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Wed, 26 Aug 2020 20:31:57 +0100 Subject: [PATCH] Behaviour confirmed reasonable-seeming --- synapse/federation/sender/per_destination_queue.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py index a2497ad99d..ad83db36bb 100644 --- a/synapse/federation/sender/per_destination_queue.py +++ b/synapse/federation/sender/per_destination_queue.py @@ -246,9 +246,8 @@ class PerDestinationQueue(object): # this keeps the catching-up logic simple await self._catch_up_transmission_loop() if self._catching_up: - # XXX if we aren't actually caught up still, shouldn't - # carry on to the main loop - # (but need to consider what we do in a failure...?) + # if we aren't actually caught up yet, shouldn't carry on to + # the main loop return pending_pdus = []