mirror of
https://github.com/GNS3/gns3-server
synced 2025-02-26 15:12:34 +00:00
parent
b85b4b73cc
commit
0d022a4d33
@ -538,7 +538,10 @@ class Compute:
|
|||||||
"""
|
"""
|
||||||
Forward a call to the emulator on compute
|
Forward a call to the emulator on compute
|
||||||
"""
|
"""
|
||||||
|
try:
|
||||||
res = yield from self.http_query(method, "/{}/{}".format(type, path), data=data, timeout=None)
|
res = yield from self.http_query(method, "/{}/{}".format(type, path), data=data, timeout=None)
|
||||||
|
except aiohttp.errors.DisconnectedError:
|
||||||
|
raise aiohttp.web.HTTPGatewayTimeout()
|
||||||
return res.json
|
return res.json
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
|
Loading…
Reference in New Issue
Block a user