From 86be4f98f17936fb7276ca70202e4e8844f5472d Mon Sep 17 00:00:00 2001 From: grossmj Date: Wed, 29 Aug 2018 16:22:37 +0700 Subject: [PATCH] Fix wrong call after merging. --- gns3server/controller/compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/compute.py b/gns3server/controller/compute.py index 319093f8..b5234252 100644 --- a/gns3server/controller/compute.py +++ b/gns3server/controller/compute.py @@ -431,7 +431,7 @@ class Compute: if self._connection_failure == 10: log.error("Could not connect to compute '{}' after multiple attempts: {}".format(self._id, e)) yield from self._controller.close_compute_projects(self) - asyncio.get_event_loop().call_later(2, lambda: asyncio.async(self._try_reconnect())) + asyncio.get_event_loop().call_later(2, lambda: asyncio_ensure_future(self._try_reconnect())) return except aiohttp.web.HTTPNotFound: raise aiohttp.web.HTTPConflict(text="The server {} is not a GNS3 server or it's a 1.X server".format(self._id))