anonymousland-synapse/synapse/storage
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
..
databases Handle inbound events from federation asynchronously (#10272) 2021-06-29 19:55:22 +01:00
engines Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
schema Handle inbound events from federation asynchronously (#10272) 2021-06-29 19:55:22 +01:00
util Fix bug when running presence off master (#10149) 2021-06-11 10:27:12 +01:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Remove unnecessary SystemRandom from SQLBaseStore (#9987) 2021-05-14 10:59:10 +01:00
background_updates.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
database.py Fix logging context when opening new DB connection (#10141) 2021-06-08 13:49:29 +01:00
keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
persist_events.py Fix persist_events to stop leaking opentracing contexts (#10193) 2021-06-17 11:21:53 +01:00
prepare_database.py Support for database schema version ranges (#9933) 2021-06-11 14:45:53 +01:00
purge_events.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
push_rule.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
relations.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
roommember.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state.py Fix get_state_ids_for_event return type typo to match what the function actually does (#10050) 2021-05-24 10:43:33 +01:00
types.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00