summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-09-18 11:56:41 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-09-18 12:04:04 +0100
commit858ef5e1444d1bec303edb1d7b49ab86429dd0c5 (patch)
tree6242868263958a20c85f4ec89a6facd994ad52eb /scripts
parent1.19.2 (diff)
downloadsynapse-858ef5e1444d1bec303edb1d7b49ab86429dd0c5.tar.xz
Intelligently select extremities used in backfill.
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 'scripts')
0 files changed, 0 insertions, 0 deletions