From df2b01f9c7b0ba9e639e224aa1d2f27a48088504 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 7 Jul 2020 15:56:23 +0100 Subject: [PATCH] Remove break or that'll kill the parent loop --- federationsender/queue/destinationqueue.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/federationsender/queue/destinationqueue.go b/federationsender/queue/destinationqueue.go index affa84737..845600c9f 100644 --- a/federationsender/queue/destinationqueue.go +++ b/federationsender/queue/destinationqueue.go @@ -250,8 +250,6 @@ func (oq *destinationQueue) backgroundSend() { oq.statistics.Success() // Clean up the in-memory buffers. oq.cleanPendingEDUs() - } else { - break } }