gocyclo, unsurprisingly

This commit is contained in:
Neil Alexander 2020-07-20 16:15:13 +01:00
parent 29114024a1
commit 089fb0edbe
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -343,6 +343,7 @@ func (oq *destinationQueue) cleanPendingInvites() {
// nextTransaction creates a new transaction from the pending event // nextTransaction creates a new transaction from the pending event
// queue and sends it. Returns true if a transaction was sent or // queue and sends it. Returns true if a transaction was sent or
// false otherwise. // false otherwise.
// nolint:gocyclo
func (oq *destinationQueue) nextTransaction() (bool, error) { func (oq *destinationQueue) nextTransaction() (bool, error) {
// Before we do anything, we need to roll over the transaction // Before we do anything, we need to roll over the transaction
// ID that is being used to coalesce events into the next TX. // ID that is being used to coalesce events into the next TX.