Fix destination queue

This commit is contained in:
Neil Alexander 2020-08-07 17:18:12 +01:00
parent 0b38141c76
commit f3d71c7a72
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -262,7 +262,7 @@ func (oq *destinationQueue) backgroundSend() {
// If we are backing off this server then wait for the
// backoff duration to complete first, or until explicitly
// 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 pendingPDUs || pendingEDUs {