mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 17:33:09 -06:00
Count EDUs in sendCounter
This commit is contained in:
parent
23cf26bbbb
commit
58dceb1a08
|
|
@ -125,6 +125,7 @@ func (oq *destinationQueue) next() *gomatrixserverlib.Transaction {
|
|||
t.EDUs = append(t.EDUs, *edu)
|
||||
}
|
||||
oq.pendingEDUs = nil
|
||||
oq.sentCounter += len(t.EDUs)
|
||||
|
||||
return &t
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue