Skip to content
Snippets Groups Projects
Unverified Commit 6c8a347a authored by Andrei Eres's avatar Andrei Eres Committed by GitHub
Browse files

PVF: drop backing jobs if it is too late (#5616)


Fixes https://github.com/paritytech/polkadot-sdk/issues/5530

This PR introduces the removal of backing jobs that have been back
pressured for longer than `allowedAncestryLen`, as these candidates are
no longer viable.

It is reasonable to expect a result for a backing job execution within
`allowedAncestryLen` blocks. Therefore, we set the job TTL as a relay
block number and synchronize the validation host by sending activated
leaves.

---------

Co-authored-by: default avatarAndrei Sandu <54316454+sandreim@users.noreply.github.com>
Co-authored-by: default avatarBranislav Kontur <bkontur@gmail.com>
parent bb8c7a3b
Pipeline #504732 waiting for manual action with stages
in 18 minutes and 1 second
Showing
with 513 additions and 129 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment