From 089fb0edbed50ba1d4e3994d13a347f68932a1c1 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 20 Jul 2020 16:15:13 +0100 Subject: [PATCH] gocyclo, unsurprisingly --- federationsender/queue/destinationqueue.go | 1 + 1 file changed, 1 insertion(+) diff --git a/federationsender/queue/destinationqueue.go b/federationsender/queue/destinationqueue.go index 45111bf87..19b61418b 100644 --- a/federationsender/queue/destinationqueue.go +++ b/federationsender/queue/destinationqueue.go @@ -343,6 +343,7 @@ func (oq *destinationQueue) cleanPendingInvites() { // nextTransaction creates a new transaction from the pending event // queue and sends it. Returns true if a transaction was sent or // false otherwise. +// nolint:gocyclo func (oq *destinationQueue) nextTransaction() (bool, error) { // Before we do anything, we need to roll over the transaction // ID that is being used to coalesce events into the next TX.