resq_mcp.core.timeout
Centralized timeout configuration for ResQ MCP server. Provides consistent, env-var-configurable timeout values across all tools. Inspired by Archon MCP server timeout patterns. Environment variables: RESQ_REQUEST_TIMEOUT: Total request timeout in seconds (default: 30) RESQ_CONNECT_TIMEOUT: Connection timeout in seconds (default: 5) RESQ_READ_TIMEOUT: Read timeout in seconds (default: 20) RESQ_POLLING_BASE_INTERVAL: Base polling interval in seconds (default: 1) RESQ_POLLING_MAX_INTERVAL: Max polling interval in seconds (default: 5) RESQ_MAX_POLLING_ATTEMPTS: Max polling attempts (default: 30)annotations
os
dataclass
TimeoutConfig Objects
total
connect
read
get_default_timeout
get_max_polling_attempts
get_polling_interval
attempt- Current attempt number (0-based).