mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-22 17:33:49 +02:00
Increase timeout to run compute HTTP queries. Fixes #2461
This commit is contained in:
parent
2c727c6bd2
commit
0090ff3722
@ -488,7 +488,7 @@ class Compute:
|
|||||||
""" Returns URL for specific path at Compute"""
|
""" Returns URL for specific path at Compute"""
|
||||||
return self._getUrl(path)
|
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 asynctimeout(delay=timeout):
|
async with asynctimeout(delay=timeout):
|
||||||
url = self._getUrl(path)
|
url = self._getUrl(path)
|
||||||
headers = {}
|
headers = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user