mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 21:20:21 +00:00
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.
1 line
47 B
Text
1 line
47 B
Text
Avoid updating the stream cache unnecessarily.
|