forked-synapse/synapse/federation
Erik Johnston c54db67d0e
Handle inbound events from federation asynchronously (#10272)
Fixes #9490

This will break a couple of SyTest that are expecting failures to be added to the response of a federation /send, which obviously doesn't happen now that things are asynchronous.

Two drawbacks:

    Currently there is no logic to handle any events left in the staging area after restart, and so they'll only be handled on the next incoming event in that room. That can be fixed separately.
    We now only process one event per room at a time. This can be fixed up further down the line.
2021-06-29 19:55:22 +01:00
..
sender Add debug logging for issue #9533 (#9959) 2021-05-11 11:04:03 +01:00
transport Expose opentracing trace id in response headers (#10199) 2021-06-18 11:43:22 +01:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
federation_base.py When joining a remote room limit the number of events we concurrently check signatures/hashes for (#10117) 2021-06-08 11:07:46 +01:00
federation_client.py Remove the experimental flag for knocking and use stable prefixes / endpoints. (#10167) 2021-06-15 07:45:14 -04:00
federation_server.py Handle inbound events from federation asynchronously (#10272) 2021-06-29 19:55:22 +01:00
persistence.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
send_queue.py Fix (final) Bugbear violations (#9838) 2021-04-20 11:50:49 +01:00
units.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00