synapse-product/tests/storage/databases/main
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
..
__init__.py add a cache to have_seen_event (#9953) 2021-06-01 12:04:47 +01:00
test_deviceinbox.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
test_events_worker.py Handle cancellation in EventsWorkerStore._get_events_from_cache_or_db (#12529) 2022-04-25 19:39:17 +01:00
test_lock.py Add type hints for tests/unittest.py. (#12347) 2022-04-01 16:04:16 +00:00
test_room.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00