dendrite/federationsender
Neil Alexander 8b5cd256cb
Don't hold destination queues in memory forever (#1769)
* Don't hold destination queues in memory forever

* Close channels

* Fix ordering

* Clear more aggressively

* clearQueue only called by defer so should be safe to delete queue in any case

* Wake queue when created, otherwise cleanup doesn't get called in all cases

* Clean up periodically, we hit a race condition otherwise

* Tweaks

* Don't create queues for blacklisted hosts

* Check blacklist properly
2021-02-17 15:16:35 +00:00
..
api Peeking over federation via MSC2444 (#1391) 2021-01-22 14:55:08 +00:00
consumers Graceful shutdowns (#1734) 2021-01-26 12:56:20 +00:00
internal Check peek state response and refactor checking send_join response (#1732) 2021-01-22 17:16:35 +00:00
inthttp Peeking over federation via MSC2444 (#1391) 2021-01-22 14:55:08 +00:00
queue Don't hold destination queues in memory forever (#1769) 2021-02-17 15:16:35 +00:00
statistics Refactor backoff again (#1431) 2020-09-21 13:30:37 +01:00
storage Remove rooms table from federation sender (#1751) 2021-02-04 11:52:49 +00:00
types Remove rooms table from federation sender (#1751) 2021-02-04 11:52:49 +00:00
federationsender.go Graceful shutdowns (#1734) 2021-01-26 12:56:20 +00:00