diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-04-25 19:39:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 19:39:17 +0100 |
commit | 8a87b4435a736cd42454cad7e57b65ec911f01fa (patch) | |
tree | 196227670bdc7ec3383463ab5fa8370069b1f0c4 /tests/handlers/test_message.py | |
parent | Correct typo in user_admin_api.md device deletion JSON (#12533) (diff) | |
download | synapse-8a87b4435a736cd42454cad7e57b65ec911f01fa.tar.xz |
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>
Diffstat (limited to 'tests/handlers/test_message.py')
0 files changed, 0 insertions, 0 deletions