Skip to main content

DEFAULT_CYCLE_OP_BUDGET

Constant DEFAULT_CYCLE_OP_BUDGET 

Source
pub const DEFAULT_CYCLE_OP_BUDGET: Option<usize>;
Expand description

Default per-cycle Op budget. Some(1000) yields voluntarily after 1000 op-invocations per poll; an emit of EngineStep::CycleBudgetExceeded tells the host the engine paused so other work can run. None disables the budget guard.