Skip to main content

ENV_NET_TIMEOUT_SCALE

Constant ENV_NET_TIMEOUT_SCALE 

Source
pub const ENV_NET_TIMEOUT_SCALE: &str = "FLODL_NET_TIMEOUT_SCALE";
Expand description

Env var scaling every flodl cluster network deadline together (connect budget, write-stall, heartbeat staleness, coord-liveness, CPU reduce read). Mirrors flodl::distributed::wire’s constant + validation rule (kept in lockstep — flodl-cli is decoupled from the library crate). The library reader warns-and-defaults on a bad value; the cluster fan-out path calls validate_net_timeout_scale first so an explicit-but-invalid value errors loudly BEFORE any host is touched.