summary refs log tree commit diff
path: root/tests/util/test_linearizer.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-09-18 14:25:52 +0100
committerGitHub <noreply@github.com>2020-09-18 14:25:52 +0100
commit43f2b67e4d2ce95b3b13d88e755afc7e3907e82b (patch)
tree9df24c6f22c0464131aaec3803cc8d745075a01b /tests/util/test_linearizer.py
parentAdd flags to /versions about whether new rooms are encrypted by default. (#8343) (diff)
downloadsynapse-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