Skip to main content

DEFAULT_PER_HOP_BUDGET_NS

Constant DEFAULT_PER_HOP_BUDGET_NS 

Source
pub const DEFAULT_PER_HOP_BUDGET_NS: u64 = 100_000_000;
Expand description

Default per-target-boundary-hop budget for sizing async deadlines on wire.Send NodeProtos. 100 ms in nanoseconds. The compiler’s analyze_wire_dependencies stamps a static chain_depth count on each Send; the engine multiplies by this budget at deadline-stamp time so a Send whose downstream chain reaches N target boundaries gets N * per_hop_budget_ns to respond.