mirror of
https://github.com/GNS3/gns3-server
synced 2025-02-12 16:12:38 +00:00
Increase timeout to run compute HTTP queries. Fixes #3453
This commit is contained in:
parent
d54e6babe2
commit
512407939d
@ -502,7 +502,7 @@ class Compute:
|
||||
""" Returns URL for specific path at Compute"""
|
||||
return self._getUrl(path)
|
||||
|
||||
async def _run_http_query(self, method, path, data=None, timeout=20, raw=False):
|
||||
async def _run_http_query(self, method, path, data=None, timeout=120, raw=False):
|
||||
async with async_timeout.timeout(delay=timeout):
|
||||
url = self._getUrl(path)
|
||||
headers = {"content-type": "application/json"}
|
||||
|
Loading…
Reference in New Issue
Block a user