forked-synapse/synapse/storage
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
..
controllers Simplify event persistence code (#16584) 2023-11-03 07:30:31 -04:00
databases Simplify event persistence code (#16584) 2023-11-03 07:30:31 -04:00
engines Delete device messages asynchronously and in staged batches (#16240) 2023-09-06 09:30:53 +02:00
schema Allow multiple workers to write to receipts stream. (#16432) 2023-10-25 16:16:19 +01:00
util Fix bug where a new writer advances their token too quickly (#16473) 2023-10-23 16:57:30 +01:00
__init__.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
_base.py Clear event caches when we purge history (#15609) 2023-06-08 13:14:40 +01:00
background_updates.py Remove remaining usage of cursor_to_dict. (#16564) 2023-10-31 13:13:28 -04:00
database.py Remove remaining usage of cursor_to_dict. (#16564) 2023-10-31 13:13:28 -04:00
keys.py Add cache to get_server_keys_json_for_remote (#16123) 2023-08-18 11:05:01 +01:00
prepare_database.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
push_rule.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
roommember.py mypy plugin to check @cached return types (#14911) 2023-10-02 14:22:36 +00:00
types.py Bump types-psycopg2 from 2.9.21.11 to 2.9.21.14 (#16381) 2023-09-25 17:48:42 +01:00