Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Handle cancellation in EventsWorkerStore._get_events_from_cache_or_db #12529

Merged
merged 1 commit into from
Apr 25, 2022

Commits on Apr 22, 2022

  1. Handle cancellation in EventsWorkerStore._get_events_from_cache_or_db

    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>
    Sean Quah committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    cca0a2a View commit details
    Browse the repository at this point in the history