1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Fix limit of 20 docker containers

Fix #963
This commit is contained in:
Julien Duponchelle 2017-03-28 11:54:16 +02:00
parent 42f409d5f9
commit 2564740665
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -67,7 +67,7 @@ class Docker(BaseManager):
if not sys.platform.startswith("linux"):
raise DockerError("Docker is supported only on Linux")
try:
self._connector = aiohttp.connector.UnixConnector(self._server_url, conn_timeout=2)
self._connector = aiohttp.connector.UnixConnector(self._server_url, conn_timeout=2, limit=None)
except (aiohttp.errors.ClientOSError, FileNotFoundError):
raise DockerError("Can't connect to docker daemon")
return self._connector