summary refs log tree commit diff
path: root/tests/test_visibility.py
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2022-04-25 19:39:17 +0100
committerGitHub <noreply@github.com>2022-04-25 19:39:17 +0100
commit8a87b4435a736cd42454cad7e57b65ec911f01fa (patch)
tree196227670bdc7ec3383463ab5fa8370069b1f0c4 /tests/test_visibility.py
parentCorrect typo in user_admin_api.md device deletion JSON (#12533) (diff)
downloadsynapse-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/test_visibility.py')
0 files changed, 0 insertions, 0 deletions