mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
8a87b4435a
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>
2 lines
73 B
Plaintext
2 lines
73 B
Plaintext
Handle cancellation in `EventsWorkerStore._get_events_from_cache_or_db`.
|