pub struct AutoRejoinConfig {
pub required_consecutive_passes: u32,
pub canary_required: bool,
pub check_interval_secs: u64,
pub probe_timeout_secs: u64,
pub min_disk_free_gb: f64,
pub min_disk_inodes: u64,
pub disk_roots: Vec<String>,
pub max_load_per_core: f64,
pub min_protocol: u32,
pub required_targets: Vec<String>,
pub required_toolchains: Vec<String>,
pub canary_command: String,
}Expand description
Auto-rejoin canary thresholds and recovery-probe dimensions.
Fields§
§required_consecutive_passes: u32Consecutive successful recovery probes required before a canary build.
canary_required: boolWhether one canary build is required before full rejoin.
check_interval_secs: u64How often the recovery service scans for due probes (seconds).
probe_timeout_secs: u64SSH/probe timeout for a single capability probe or canary (seconds).
min_disk_free_gb: f64Minimum free disk (GB) a worker must report on every probed root.
min_disk_inodes: u64Minimum free inodes a worker must report on every probed root.
disk_roots: Vec<String>Disk roots whose capacity/inodes the probe reports.
max_load_per_core: f64Maximum load-per-core a worker may report to pass the load dimension.
min_protocol: u32Minimum worker wire protocol required to pass the protocol dimension.
required_targets: Vec<String>rustup targets a recovered worker must have (empty = cargo/rustc only).
required_toolchains: Vec<String>rustup toolchains a recovered worker must have (prefix-matched).
canary_command: StringThe canary command run over the SSH path before full rejoin.
Trait Implementations§
Source§impl Clone for AutoRejoinConfig
impl Clone for AutoRejoinConfig
Source§impl Debug for AutoRejoinConfig
impl Debug for AutoRejoinConfig
Source§impl Default for AutoRejoinConfig
impl Default for AutoRejoinConfig
Source§impl<'de> Deserialize<'de> for AutoRejoinConfigwhere
AutoRejoinConfig: Default,
impl<'de> Deserialize<'de> for AutoRejoinConfigwhere
AutoRejoinConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<&AutoRejoinConfig> for AutoRejoinCriteria
impl From<&AutoRejoinConfig> for AutoRejoinCriteria
Source§fn from(cfg: &AutoRejoinConfig) -> Self
fn from(cfg: &AutoRejoinConfig) -> Self
Source§impl JsonSchema for AutoRejoinConfig
impl JsonSchema for AutoRejoinConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more