Increase MCP HTTP client timeout from 10s to 30s

Dynamips node creation (e.g., Cisco 7200 with multiple adapters)
can exceed the previous 10-second timeout, causing MCP tools to
fail with Read timed out errors.
This commit is contained in:
YueGuobin committed 2026-06-15 13:14:11 +08:00
1 parent 49d2c271ca
commit 6cbe676b18
1 file changed
+1 -1
@@ -308,7 +308,7 @@ class Gns3Connector:
"headers": headers,
"params": params,
"verify": verify,
"timeout": 10.0, # Fixed 10-second timeout for all GNS3 API requests
"timeout": 30.0,
}
if data is not None:
kwargs["data"] = data