Expand description
The Approval Voting Parallel Subsystem.
This subsystem is responsible for orchestrating the work done by approval-voting and approval-distribution subsystem, so they can do their work in parallel, rather than serially, when they are run as independent subsystems.
Re-exports§
pub use metrics::Metrics;
Modules§
- metrics
- The Metrics for Approval Voting Parallel Subsystem.
Structs§
- Approval
Voting Parallel Subsystem - The approval voting parallel subsystem.
- Approval
Voting ToApproval Distribution - Just a wrapper for implementing
overseer::SubsystemSender<ApprovalDistributionMessage>
, so that we can inject into the approval voting subsystem. - RxWorker
- Handles that are used by an worker to receive work.
- ToWorker
- Just a wrapper for implementing
overseer::SubsystemSender<ApprovalVotingMessage>
andoverseer::SubsystemSender<ApprovalDistributionMessage>
. - Work
Provider Impl
Constants§
- APPROVAL_
DISTRIBUTION_ WORKER_ COUNT - The number of workers used for running the approval-distribution logic.
- DEFAULT_
WORKERS_ CHANNEL_ SIZE - The default channel size for the workers, can be overridden by the user through
overseer_channel_capacity_override