mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
faf5b40520
Fix `_bulk_get_max_event_pos(...)` being inefficient. It kept adding all of the `batch_results` to the `results` over and over every time we checked a single room in the batch. I think we still ended up with the right answer before because we accumulate `recheck_rooms` and actually recheck them to overwrite the bad data we wrote to the `results` before. Introduced in https://github.com/element-hq/synapse/pull/17606/files#diff-cbd54e4b5a2a1646299d659a2d5884d6cb14e608efd2e1658e72b465bb66e31bR1481 |
||
---|---|---|
.. | ||
.gitignore | ||
17506.feature | ||
17662.feature | ||
17667.misc | ||
17675.feature | ||
17690.feature | ||
17692.bugfix | ||
17693.misc | ||
17696.misc | ||
17703.misc | ||
17707.feature | ||
17723.misc | ||
17724.misc | ||
17727.bugfix | ||
17728.misc | ||
17729.bugfix |