forked-synapse/synapse/storage/databases/main
Patrick Cloke 92828a7f95
Simplify event persistence code (#16584)
The event persistence code used to handle multiple rooms
at a time, but was simplified to only ever be called with a
single room at a time (different rooms are now handled in
parallel). The code is still generic to multiple rooms causing
a lot of work that is unnecessary (e.g. unnecessary loops, and
partitioning data by room).

This strips out the ability to handle multiple rooms at once, greatly
simplifying the code.
2023-11-03 07:30:31 -04:00
..
__init__.py Remove remaining usage of cursor_to_dict. (#16564) 2023-10-31 13:13:28 -04:00
account_data.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
appservice.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
cache.py Avoid sending massive replication updates when purging a room. (#16510) 2023-10-18 12:26:01 -04:00
censor_events.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00
client_ips.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
deviceinbox.py Improve performance of delete device messages query (#16492) 2023-10-18 16:42:01 +01:00
devices.py Remove remaining usage of cursor_to_dict. (#16564) 2023-10-31 13:13:28 -04:00
directory.py Load /directory/room/{roomAlias} endpoint on workers (#15333) 2023-04-14 10:24:06 +01:00
e2e_room_keys.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
end_to_end_keys.py Claim local one-time-keys in bulk (#16565) 2023-10-30 21:25:21 +00:00
event_federation.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
event_push_actions.py mypy plugin to check @cached return types (#14911) 2023-10-02 14:22:36 +00:00
events_bg_updates.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00
events_forward_extremities.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00
events_worker.py Remove the last reference to event_txn_id. (#16521) 2023-10-23 07:37:45 -04:00
events.py Simplify event persistence code (#16584) 2023-11-03 07:30:31 -04:00
experimental_features.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
filtering.py Convert more cached return values to immutable types (#16356) 2023-09-20 07:48:55 -04:00
keys.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
lock.py Fix rare bug that broke looping calls (#16210) 2023-08-30 14:18:42 +01:00
media_repository.py Remove remaining usage of cursor_to_dict. (#16564) 2023-10-31 13:13:28 -04:00
metrics.py Remove old R30 because R30v2 supercedes it (#10428) 2023-05-19 11:13:44 -05:00
monthly_active_users.py Return read-only collections from @cached methods (#13755) 2023-02-10 23:29:00 +00:00
openid.py
presence.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
profile.py Revert "Stop writing to column user_id of tables profiles and user_filters. (#15953) 2023-07-18 11:44:09 +01:00
purge_events.py Disable statement timeout whilst purging rooms (#16455) 2023-10-09 15:41:17 +01:00
push_rule.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
pusher.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
receipts.py Allow multiple workers to write to receipts stream. (#16432) 2023-10-25 16:16:19 +01:00
registration.py Remove remaining usage of cursor_to_dict. (#16564) 2023-10-31 13:13:28 -04:00
rejections.py
relations.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
room.py Remove remaining usage of cursor_to_dict. (#16564) 2023-10-31 13:13:28 -04:00
roommember.py Ensure local invited & knocking users leave before purge. (#16559) 2023-10-27 12:50:50 -04:00
search.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00
session.py
signatures.py Return read-only collections from @cached methods (#13755) 2023-02-10 23:29:00 +00:00
state_deltas.py Convert state delta processing from a dict to attrs. (#16469) 2023-10-16 07:35:22 -04:00
state.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00
stats.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00
stream.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00
tags.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
task_scheduler.py Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
transactions.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00
ui_auth.py Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 2023-10-26 13:01:36 -04:00
user_directory.py Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00
user_erasure_store.py Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 2023-10-11 13:24:56 -04:00