Skip to main content

limit_from_window

Function limit_from_window 

Source
pub fn limit_from_window(
    found: Found,
    vendor_code: Option<&str>,
    window_used: Option<f64>,
) -> Found
Expand description

Codex reports a spent account window as a bare JSON-RPC -32603 Internal error. When a fresh limit reading (heartbeat or a /status screen, at most a few minutes old) puts the 5h window at ~100%, such an otherwise unknown error is the limit.