mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -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
|
// 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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue