No connection limit / No keep alive for connection to compute

Fix #779
This commit is contained in:
Julien Duponchelle 2016-11-16 15:04:10 +01:00
parent 8850265cb6
commit 94ceb2dda0
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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):