dendrite/federationsender
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
..
api Return remote errors from FS.PerformJoin (#1164) 2020-06-25 15:04:48 +01:00
consumers Add trace logging to RoomserverInternalAPI (#1120) 2020-06-12 12:10:08 +01:00
internal Return remote errors from FS.PerformJoin (#1164) 2020-06-25 15:04:48 +01:00
inthttp Return remote errors from FS.PerformJoin (#1164) 2020-06-25 15:04:48 +01:00
queue bugfix: continue sending PDUs if ones are added whilst sending another PDU (#1187) 2020-07-07 16:36:10 +01:00
storage Hydrate destination queues at startup (#1179) 2020-07-03 11:49:49 +01:00
types Improve federation sender performance, implement backoff and blacklisting, fix up invites a bit (#1007) 2020-05-07 12:42:06 +01:00
federationsender.go Persistent federation sender queues (PDUs) (#1173) 2020-07-01 11:46:38 +01:00