mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-20 05:13:11 -06:00
Don't reset counters before successful outgoing federation request on incoming federation request
This commit is contained in:
parent
e21d7d4baf
commit
2de19af21d
|
|
@ -59,7 +59,6 @@ func (oq *destinationQueue) retry() {
|
|||
// and then skip ahead a lot which feels non-ideal but equally we can't persist thousands of events
|
||||
// in-memory to maybe-send it one day. Ideally we would just shove these pending events in a database
|
||||
// so we can send a lot of events.
|
||||
oq.statistics.Success()
|
||||
// if we were backing off, swap to not backing off and interrupt the select.
|
||||
// We need to use an atomic bool here to prevent multiple calls to retry() blocking on the channel
|
||||
// as it is unbuffered.
|
||||
|
|
|
|||
Loading…
Reference in a new issue