dendrite/federationsender
Neil Alexander 8b5cd256cb
Don't hold destination queues in memory forever ()
* 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 () 2021-01-22 14:55:08 +00:00
consumers Graceful shutdowns () 2021-01-26 12:56:20 +00:00
internal Check peek state response and refactor checking send_join response () 2021-01-22 17:16:35 +00:00
inthttp Peeking over federation via MSC2444 () 2021-01-22 14:55:08 +00:00
queue Don't hold destination queues in memory forever () 2021-02-17 15:16:35 +00:00
statistics Refactor backoff again () 2020-09-21 13:30:37 +01:00
storage Remove rooms table from federation sender () 2021-02-04 11:52:49 +00:00
types Remove rooms table from federation sender () 2021-02-04 11:52:49 +00:00
federationsender.go Graceful shutdowns () 2021-01-26 12:56:20 +00:00