anonymousland-synapse/synapse/storage/databases
Sean Quah 8a87b4435a
Handle cancellation in EventsWorkerStore._get_events_from_cache_or_db (#12529)
Multiple calls to `EventsWorkerStore._get_events_from_cache_or_db` can
reuse the same database fetch, which is initiated by the first call.
Ensure that cancelling the first call doesn't cancel the other calls
sharing the same database fetch.

Signed-off-by: Sean Quah <seanq@element.io>
2022-04-25 19:39:17 +01:00
..
main Handle cancellation in EventsWorkerStore._get_events_from_cache_or_db (#12529) 2022-04-25 19:39:17 +01:00
state Back out in-flight state caching changes. (#12126) 2022-03-02 10:37:04 +00:00
__init__.py Ensure that get_datastores().main is typed (#12070) 2022-02-25 10:20:40 +00:00