diff options
author | Erik Johnston <erik@matrix.org> | 2020-09-18 11:56:41 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-09-18 12:04:04 +0100 |
commit | 858ef5e1444d1bec303edb1d7b49ab86429dd0c5 (patch) | |
tree | 6242868263958a20c85f4ec89a6facd994ad52eb /scripts | |
parent | 1.19.2 (diff) | |
download | synapse-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