fix(cli): extend API healthcheck startup window

Keep one-second health probes active for slower graph imports so Compose does not stall for the steady-state interval.

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This commit is contained in:
John Kennedy
2026-08-20 07:24:09 +00:00
co-authored by open-swe[bot] <open-swe@users.noreply.github.com>
parent f899af1c73
commit 8e05912899
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ def compose_as_dict(
"test": "python /api/healthcheck.py",
"interval": "60s",
"start_interval": "1s",
"start_period": "10s",
"start_period": "60s",
}
# Final compose dictionary with volumes included if needed
+2 -2
View File
@@ -122,7 +122,7 @@ services:
test: python /api/healthcheck.py
interval: 60s
start_interval: 1s
start_period: 10s
start_period: 60s
pull_policy: build
build:
@@ -232,7 +232,7 @@ services:
test: python /api/healthcheck.py
interval: 60s
start_interval: 1s
start_period: 10s
start_period: 60s
develop:
+1 -1
View File
@@ -71,7 +71,7 @@ def test_compose_with_custom_db_and_healthcheck():
test: python /api/healthcheck.py
interval: 60s
start_interval: 1s
start_period: 10s"""
start_period: 60s"""
assert clean_empty_lines(actual_compose_str) == expected_compose_str