summary refs log tree commit diff
path: root/changelog.d/12529.misc
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 /changelog.d/12529.misc
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 'changelog.d/12529.misc')
-rw-r--r--changelog.d/12529.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12529.misc b/changelog.d/12529.misc
new file mode 100644
index 0000000000..5427108742
--- /dev/null
+++ b/changelog.d/12529.misc
@@ -0,0 +1 @@
+Handle cancellation in `EventsWorkerStore._get_events_from_cache_or_db`.