MatrixSynapse/synapse/storage
Patrick Cloke 6d7523ef14
Batch fetch bundled references (#14508)
Avoid an n+1 query problem and fetch the bundled aggregations for
m.reference 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; threads
in b65acead42 (#11752); and
annotations in 1799a54a54 (#14491).
2022-11-22 09:41:09 -05:00
..
controllers
databases Batch fetch bundled references (#14508) 2022-11-22 09:41:09 -05:00
engines
schema
util Reintroduce #14376, with bugfix for monoliths (#14468) 2022-11-16 22:16:46 +00:00
__init__.py
_base.py
background_updates.py
database.py Fix check to ignore blank lines in incoming TCP replication (#14449) 2022-11-17 16:09:56 +00:00
keys.py
prepare_database.py
push_rule.py
roommember.py
state.py
types.py