dyn overseer channel capacity (#5454)

* allow runtime adjustment of signal channel size

Closes #5436
This commit is contained in:
Bernhard Schuster
2022-05-05 17:22:17 +02:00
committed by GitHub
parent 2e1a3441f9
commit abf882c591
8 changed files with 104 additions and 11 deletions
+6
View File
@@ -138,6 +138,12 @@ pub struct RunCmd {
/// telemetry, if telemetry is enabled.
#[clap(long)]
pub no_hardware_benchmarks: bool,
/// Overseer message capacity override.
///
/// **Dangerous!** Do not touch unless explicitly adviced to.
#[clap(long)]
pub overseer_channel_capacity_override: Option<usize>,
}
#[allow(missing_docs)]
+1
View File
@@ -332,6 +332,7 @@ where
None,
false,
overseer_gen,
cli.run.overseer_channel_capacity_override,
hwbench,
)
.map(|full| full.task_manager)