mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03: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:
parent
49d2c271ca
commit
6cbe676b18
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user