From 94ceb2dda0489e20283928ab3f741fc7e9c3487c Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 16 Nov 2016 15:04:10 +0100 Subject: [PATCH] No connection limit / No keep alive for connection to compute Fix #779 --- 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 5992d789..af984987 100644 --- a/gns3server/controller/compute.py +++ b/gns3server/controller/compute.py @@ -108,7 +108,7 @@ class Compute: def _session(self): if self._http_session is None or self._http_session.closed is True: - self._http_session = aiohttp.ClientSession() + self._http_session = aiohttp.ClientSession(connector=aiohttp.TCPConnector(limit=None, force_close=True)) return self._http_session def __del__(self):