Make candidate validation bounded again (#2125)

This PR aims to channel the backpressure of the PVF host's preparation
and execution queues to the candidate validation subsystem consumers.

Related: #708
This commit is contained in:
s0me0ne-unkn0wn
2024-01-21 14:56:44 +01:00
committed by GitHub
parent 21ef949b6e
commit d37a45650e
13 changed files with 199 additions and 113 deletions
+14
View File
@@ -0,0 +1,14 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Introduce bounds for the number of candidate validation subsystem simultaneously processed tasks
doc:
- audience: Node Dev
description: |
Makes it possible for the candidate validation subsystem to create backpressure on subsystems
requesting to validate a candidate through limiting the number of simultaneously processed
validation tasks.
crates:
- name: polkadot-node-core-candidate-validation