Skip to main content

DEFAULT_CALL_TIMEOUT

Constant DEFAULT_CALL_TIMEOUT 

Source
pub const DEFAULT_CALL_TIMEOUT: Duration;
Expand description

How long StdioRpcClient::call waits for a matching response before giving up.

Why: every method this client calls (session.*, task.run) is a fast, synchronous handler by design — task.run in particular reserves its execution slot and returns immediately rather than blocking on the LLM run (see task::protocol::task_run’s docs) — so a real hang here means a genuine daemon-side regression, not a slow-but-legitimate call. Generous enough for a debug build under load, tight enough to fail fast.