0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-17 07:10:51 +01:00
dendrite/federationsender
Neil Alexander f64c8822bc
Federation sender refactor (#1621)
* Refactor federation sender, again

* Clean up better

* Missing operators

* Try to get overflowed events from database

* Fix queries

* Log less

* Comments

* nil PDUs/EDUs shouldn't happen but guard against them for safety

* Tweak logging

* Fix transaction coalescing

* Update comments

* Check nils more

* Remove channels as they add extra complexity and possibly will deadlock

* Don't hold lock while sending transaction

* Less spam about sleeping queues

* Comments

* Bug-fixing

* Don't try to rehydrate twice

* Don't queue in memory for blacklisted destinations

* Don't queue in memory for blacklisted destinations

* Fix a couple of bugs

* Check for duplicates when pulling things out of the database

* Durable transactions, some more refactoring

* Revert "Durable transactions, some more refactoring"

This reverts commit 5daf924eaa.

* Fix deadlock
2020-12-09 10:03:22 +00:00
..
api MSC2836 threading: part 2 (#1596) 2020-12-04 14:11:01 +00:00
consumers federationsender/roomserver: don't panic while federation is disabled (#1615) 2020-12-04 14:08:17 +00:00
internal MSC2836 threading: part 2 (#1596) 2020-12-04 14:11:01 +00:00
inthttp MSC2836 threading: part 2 (#1596) 2020-12-04 14:11:01 +00:00
queue Federation sender refactor (#1621) 2020-12-09 10:03:22 +00:00
statistics Refactor backoff again (#1431) 2020-09-21 13:30:37 +01:00
storage Federation sender refactor (#1621) 2020-12-09 10:03:22 +00:00
types Persistent federation sender blacklist (#1214) 2020-07-22 17:01:29 +01:00
federationsender.go Federation sender event cache (#1614) 2020-12-04 14:52:10 +00:00