1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 04:19:03 +00:00

Change timeout to 300 (#348)

This commit is contained in:
Pascal Vizeli
2018-02-08 12:34:30 +01:00
committed by GitHub
parent 4533d17e27
commit b9538bdc67

View File

@@ -19,7 +19,8 @@ class DockerAPI(object):
def __init__(self):
"""Initialize docker base wrapper."""
self.docker = docker.DockerClient(
base_url="unix:/{}".format(str(SOCKET_DOCKER)), version='auto')
base_url="unix:/{}".format(str(SOCKET_DOCKER)),
version='auto', timeout=300)
self.network = DockerNetwork(self.docker)
@property