forked-synapse/synapse/federation
Erik Johnston 3a569fb200 Fix sharded federation sender sometimes using 100% CPU.
We pull all destinations requiring catchup from the DB in batches.
However, if all those destinations get filtered out (due to the
federation sender being sharded), then the `last_processed` destination
doesn't get updated, and we keep requesting the same set repeatedly.
2021-04-08 17:34:07 +01:00
..
sender Fix sharded federation sender sometimes using 100% CPU. 2021-04-08 17:34:07 +01:00
transport Add type hints to the federation handler and server. (#9743) 2021-04-06 07:21:57 -04:00
__init__.py Remove unused ReplicationLayer 2018-03-13 11:00:04 +00:00
federation_base.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
federation_client.py Add type hints to expiring cache. (#9730) 2021-04-06 08:58:18 -04:00
federation_server.py Add type hints to the federation handler and server. (#9743) 2021-04-06 07:21:57 -04:00
persistence.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
send_queue.py Add type hints for the federation sender. (#9681) 2021-03-29 11:43:20 -04:00
units.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00