diff options
author | Erik Johnston <erik@matrix.org> | 2020-09-18 14:25:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 14:25:52 +0100 |
commit | 43f2b67e4d2ce95b3b13d88e755afc7e3907e82b (patch) | |
tree | 9df24c6f22c0464131aaec3803cc8d745075a01b /tests/util/test_linearizer.py | |
parent | Add flags to /versions about whether new rooms are encrypted by default. (#8343) (diff) | |
download | synapse-43f2b67e4d2ce95b3b13d88e755afc7e3907e82b.tar.xz |
Intelligently select extremities used in backfill. (#8349)
Instead of just using the most recent extremities let's pick the ones that will give us results that the pagination request cares about, i.e. pick extremities only if they have a smaller depth than the pagination token. This is useful when we fail to backfill an extremity, as we no longer get stuck requesting that same extremity repeatedly.
Diffstat (limited to 'tests/util/test_linearizer.py')
0 files changed, 0 insertions, 0 deletions