-
- Downloads
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.
Showing
- changelog.d/16584.misc 1 addition, 0 deletionschangelog.d/16584.misc
- changelog.d/16586.misc 1 addition, 0 deletionschangelog.d/16586.misc
- synapse/storage/controllers/persist_events.py 124 additions, 128 deletionssynapse/storage/controllers/persist_events.py
- synapse/storage/databases/main/events.py 200 additions, 184 deletionssynapse/storage/databases/main/events.py
changelog.d/16584.misc
0 → 100644
changelog.d/16586.misc
0 → 100644
This diff is collapsed.
Please register or sign in to comment