The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(mcp): widen discovery lock wait to cover real discovery durations
Teknium81516707129e
diff --git a/tools/mcp_tool.py b/tools/mcp_tool.pyindex dea31592469..5398700cc4a 100644--- a/tools/mcp_tool.py+++ b/tools/mcp_tool.py@@ -4106,8 +4106,8 @@ _LOCK_UNAVAILABLE: Any = object() # sentinel: locking broken/unavailable_MCP_DISCOVERY_LOCK_PATH: Optional[str] = None # resolved lazily# Retry constants for the bounded wait when another process holds the lock.-_MCP_DISCOVERY_LOCK_MAX_RETRIES: int = 10-_MCP_DISCOVERY_LOCK_RETRY_DELAY_S: float = 0.2+_MCP_DISCOVERY_LOCK_MAX_RETRIES: int = 240+_MCP_DISCOVERY_LOCK_RETRY_DELAY_S: float = 0.5class _LockCookie: