Skip to main content

shell_timeout_with_override

Function shell_timeout_with_override 

Source
pub fn shell_timeout_with_override(
    command: &str,
    override_ms: Option<u64>,
) -> Duration
Expand description

shell_timeout with an optional per-call override (ctx_shell’s timeout_ms arg). Precedence: operator env pin (LEAN_CTX_SHELL_TIMEOUT_MS)

per-call override (clamped to MAX_CALL_TIMEOUT_MS, zero ignored) per-tier env/config > built-in heavy/normal ceilings.