mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
parent
42f409d5f9
commit
2564740665
@ -67,7 +67,7 @@ class Docker(BaseManager):
|
|||||||
if not sys.platform.startswith("linux"):
|
if not sys.platform.startswith("linux"):
|
||||||
raise DockerError("Docker is supported only on Linux")
|
raise DockerError("Docker is supported only on Linux")
|
||||||
try:
|
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):
|
except (aiohttp.errors.ClientOSError, FileNotFoundError):
|
||||||
raise DockerError("Can't connect to docker daemon")
|
raise DockerError("Can't connect to docker daemon")
|
||||||
return self._connector
|
return self._connector
|
||||||
|
Loading…
Reference in New Issue
Block a user