forked-synapse/synapse/storage/databases/main
Sean Quah 8a87b4435a
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>
2022-04-25 19:39:17 +01:00
..
__init__.py Prefill more stream change caches. (#12372) 2022-04-05 14:26:41 +01:00
account_data.py Use the ignored_users table to test event visibility & sync. (#12225) 2022-03-15 14:06:05 -04:00
appservice.py Add some type hints to datastore (#12423) 2022-04-12 11:54:00 +01:00
cache.py Add cache for get_membership_from_event_ids (#12272) 2022-03-25 14:58:56 +00:00
censor_events.py
client_ips.py Optimise _update_client_ips_batch_txn to batch together database operations. (#12252) 2022-04-08 15:29:13 +01:00
deviceinbox.py Reduce to-device queries for /sync. (#12163) 2022-03-04 17:57:27 +00:00
devices.py Only send out device list updates for our own users (#12465) 2022-04-14 13:05:31 +01:00
directory.py
e2e_room_keys.py
end_to_end_keys.py Add support for MSC3202: sending one-time key counts and fallback key usage states to Application Services. (#11617) 2022-02-24 17:55:45 +00:00
event_federation.py Exclude outliers in on_backfill_request (#12314) 2022-03-28 19:20:14 +01:00
event_push_actions.py
events_bg_updates.py
events_forward_extremities.py Fix returned count of delete extremities admin API (#12496) 2022-04-19 16:49:45 +01:00
events_worker.py Handle cancellation in EventsWorkerStore._get_events_from_cache_or_db (#12529) 2022-04-25 19:39:17 +01:00
events.py Resync state after partial-state join (#12394) 2022-04-12 13:23:43 +00:00
filtering.py
group_server.py Add some type hints to datastore (#12248) 2022-03-18 15:24:18 +00:00
keys.py
lock.py
media_repository.py Add some type hints to datastore. (#12255) 2022-03-28 14:11:14 -04:00
metrics.py
monthly_active_users.py Move update_client_ip background job from the main process to the background worker. (#12251) 2022-04-01 13:08:55 +01:00
openid.py
presence.py Add type hints to synapse/storage/databases/main (#11984) 2022-02-21 16:03:06 +00:00
profile.py
purge_events.py Add type hints to synapse/storage/databases/main (#11984) 2022-02-21 16:03:06 +00:00
push_rule.py
pusher.py
receipts.py Prefill more stream change caches. (#12372) 2022-04-05 14:26:41 +01:00
registration.py Add some type hints to datastore (#12423) 2022-04-12 11:54:00 +01:00
rejections.py
relations.py Remove references to unstable identifiers from MSC3440. (#12382) 2022-04-12 08:42:03 -04:00
room_batch.py
room.py Resync state after partial-state join (#12394) 2022-04-12 13:23:43 +00:00
roommember.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
search.py Add some type hints to datastore. (#12255) 2022-03-28 14:11:14 -04:00
session.py
signatures.py Add some type hints to datastore (#12423) 2022-04-12 11:54:00 +01:00
state_deltas.py
state.py Await un-partial-stating after a partial-state join (#12399) 2022-04-21 07:42:03 +01:00
stats.py Add some type hints to datastore. (#12255) 2022-03-28 14:11:14 -04:00
stream.py Fix missing sync events during historical batch imports (#12319) 2022-04-13 11:38:35 +01:00
tags.py Add some type hints to datastore (#12423) 2022-04-12 11:54:00 +01:00
transactions.py
ui_auth.py
user_directory.py Add some type hints to datastore. (#12255) 2022-03-28 14:11:14 -04:00
user_erasure_store.py