mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
Close channels
This commit is contained in:
parent
c6c5c553dd
commit
c2e92d0237
|
|
@ -183,6 +183,8 @@ func (oqs *OutgoingQueues) clearQueue(destination gomatrixserverlib.ServerName)
|
||||||
case oq.backingOff.Load():
|
case oq.backingOff.Load():
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
close(oq.notify)
|
||||||
|
close(oq.interruptBackoff)
|
||||||
delete(oqs.queues, destination)
|
delete(oqs.queues, destination)
|
||||||
destinationQueueTotal.Dec()
|
destinationQueueTotal.Dec()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue