mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 01:25:44 +03:00
92828a7f95
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.
|