Expand description
Retry + timeout helpers (with_storage_timeout, with_mcp_timeout).
Timeout utilities with exponential backoff retry support
Enums§
- Timeout
Error - Timeout error for operations that exceed their time limit
Constants§
- DEFAULT_
ENTITY_ PROCESSING_ TIMEOUT - Default timeout for entity processing (5 seconds)
- DEFAULT_
MCP_ TIMEOUT - Default timeout for MCP operations (120 seconds / 2 minutes) Increased to handle large text processing (entity extraction, vectorization)
- DEFAULT_
STORAGE_ TIMEOUT - Default timeout for storage operations (10 seconds)
Functions§
- with_
entity_ timeout - Execute entity processing with default timeout
- with_
mcp_ timeout - Execute an MCP operation with default timeout
- with_
retry_ timeout - Retry an operation with exponential backoff and timeout
- with_
storage_ timeout - Execute a storage operation with default timeout
- with_
timeout - Execute an async operation with a timeout wrapper