mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-20 21:33:19 -06:00
gocyclo, unsurprisingly
This commit is contained in:
parent
29114024a1
commit
089fb0edbe
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue