synapse-product/synapse/storage/databases
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
..
main Batch fetch bundled annotations (#14491) 2022-11-22 07:26:11 -05:00
state Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
__init__.py Ensure that get_datastores().main is typed (#12070) 2022-02-25 10:20:40 +00:00