mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -06:00
Fix destination queue
This commit is contained in:
parent
0b38141c76
commit
f3d71c7a72
|
|
@ -262,7 +262,7 @@ func (oq *destinationQueue) backgroundSend() {
|
||||||
// If we are backing off this server then wait for the
|
// If we are backing off this server then wait for the
|
||||||
// backoff duration to complete first, or until explicitly
|
// backoff duration to complete first, or until explicitly
|
||||||
// told to retry.
|
// told to retry.
|
||||||
oq.statistics.NextBackoff(oq.backingOff, oq.interruptBackoff)
|
oq.statistics.BackoffIfRequired(oq.backingOff, oq.interruptBackoff)
|
||||||
|
|
||||||
// If we have pending PDUs or EDUs then construct a transaction.
|
// If we have pending PDUs or EDUs then construct a transaction.
|
||||||
if pendingPDUs || pendingEDUs {
|
if pendingPDUs || pendingEDUs {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue