Skip to main content

DEFAULT_MCP_TASK_POLL_INTERVAL_MS

Constant DEFAULT_MCP_TASK_POLL_INTERVAL_MS 

Source
pub const DEFAULT_MCP_TASK_POLL_INTERVAL_MS: u64 = 1_000;
Expand description

Default mcp.task_poll_interval_ms: the interval a created task asks its client to poll at. One second. Overridable per deployment.

There is no companion task LIFETIME, and deliberately so. An MCP task on this server is a projection of a durable run rather than a record held in memory, so nothing expires and no lifetime has to be chosen; ttlMs is always null, which is the extension’s own spelling of unlimited.