mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-14 16:01:29 +00:00
Revert wait for container startup time and increase wait for openwrt startup time
This commit is contained in:
@@ -212,7 +212,7 @@ def is_container_running():
|
||||
def wait_for_container_startup(docker_services):
|
||||
try:
|
||||
docker_services.wait_until_responsive(
|
||||
timeout=360.0, pause=1, check=lambda: is_container_running()
|
||||
timeout=90.0, pause=1, check=lambda: is_container_running()
|
||||
)
|
||||
except Exception as excinfo:
|
||||
print(get_logs())
|
||||
@@ -221,7 +221,7 @@ def wait_for_container_startup(docker_services):
|
||||
def wait_for_openwrt_startup(docker_services):
|
||||
try:
|
||||
docker_services.wait_until_responsive(
|
||||
timeout=90.0, pause=1, check=lambda: is_openwrt_booted()
|
||||
timeout=360.0, pause=1, check=lambda: is_openwrt_booted()
|
||||
)
|
||||
except Exception as excinfo:
|
||||
print(get_logs())
|
||||
|
||||
Reference in New Issue
Block a user