mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 10:53: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)
|
t.EDUs = append(t.EDUs, *edu)
|
||||||
}
|
}
|
||||||
oq.pendingEDUs = nil
|
oq.pendingEDUs = nil
|
||||||
|
oq.sentCounter += len(t.EDUs)
|
||||||
|
|
||||||
return &t
|
return &t
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue