From 8cbba695e1a840f438fd56facbba678878597d1f Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 17 Feb 2021 13:56:13 +0000 Subject: [PATCH] Wake queue when created, otherwise cleanup doesn't get called in all cases --- federationsender/queue/queue.go | 1 + 1 file changed, 1 insertion(+) diff --git a/federationsender/queue/queue.go b/federationsender/queue/queue.go index 56c81e64b..620bb2e82 100644 --- a/federationsender/queue/queue.go +++ b/federationsender/queue/queue.go @@ -167,6 +167,7 @@ func (oqs *OutgoingQueues) getQueue(destination gomatrixserverlib.ServerName) *d signing: oqs.signing, } oqs.queues[destination] = oq + oq.wakeQueueIfNeeded() } return oq }