0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-16 21:33:44 +01:00
dendrite/federationsender/queue
Kegsay 8e9580852d
bugfix: continue sending PDUs if ones are added whilst sending another PDU (#1187)
* Add a bit more logging to the fedsender

* bugfix: continue sending PDUs if ones are added whilst sending another PDU

Without this, the queue goes back to sleep on `<-oq.notifyPDUs` which won't
fire because `pendingPDUs` is already > 0. This should fix a flakey sytest.

* Break if no txn is sent

* Tweak federation sender wake-ups

* Update comments

* Remove break or that'll kill the parent loop

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-07-07 16:36:10 +01:00
..
destinationqueue.go bugfix: continue sending PDUs if ones are added whilst sending another PDU (#1187) 2020-07-07 16:36:10 +01:00
queue.go bugfix: continue sending PDUs if ones are added whilst sending another PDU (#1187) 2020-07-07 16:36:10 +01:00