Fix timeout issues when starting VMware or VBox

Fix https://github.com/GNS3/gns3-gui/issues/1632
This commit is contained in:
Julien Duponchelle
2016-11-07 17:34:51 +01:00
parent a35eaa8e60
commit 3c5cbebfb4
4 changed files with 35 additions and 29 deletions

View File

@ -435,7 +435,7 @@ class Compute:
return "{}://{}:{}/v2/compute{}".format(self._protocol, host, self._port, path)
@asyncio.coroutine
def _run_http_query(self, method, path, data=None, timeout=10, raw=False):
def _run_http_query(self, method, path, data=None, timeout=20, raw=False):
with Timeout(timeout):
url = self._getUrl(path)
headers = {}