mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 23:01:15 +02:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user