MatrixSynapse/synapse/util
Patrick Cloke 1799a54a54
Batch fetch bundled annotations (#14491)
Avoid an n+1 query problem and fetch the bundled aggregations for
m.annotation relations in a single query instead of a query per event.

This applies similar logic for as was previously done for edits in
8b309adb43 (#11660) and threads
in b65acead42 (#11752).
2022-11-22 07:26:11 -05:00
..
caches Batch fetch bundled annotations (#14491) 2022-11-22 07:26:11 -05:00
__init__.py
async_helpers.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
batching_queue.py
cancellation.py
check_dependencies.py
daemonize.py
distributor.py
file_consumer.py
frozenutils.py
gai_resolver.py
hash.py
httpresourcetree.py
iterutils.py
linked_list.py
logcontext.py
logformatter.py
macaroons.py Save login tokens in database (#13844) 2022-10-26 11:45:41 +01:00
manhole.py
metrics.py
module_loader.py
msisdn.py
patch_inline_callbacks.py
ratelimitutils.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
retryutils.py Refactor MSC3030 `/timestamp_to_event` to move away from our snowflake pull from `destination` pattern (#14096) 2022-10-26 16:10:55 -05:00
rlimit.py
rust.py
stringutils.py
templates.py
threepids.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
wheel_timer.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00