refactor: unify database readiness lifecycle

This commit is contained in:
jxxghp
2026-08-21 20:07:07 +08:00
parent bb57b22975
commit dd1c4c3279
24 changed files with 592 additions and 268 deletions
+1 -1
View File
@@ -800,7 +800,7 @@ def wait_for_ready(container, started_at: float, timeout: float) -> float:
"-fsS",
"--max-time",
"2",
"http://127.0.0.1:3001/api/v1/system/global?token=moviepilot",
"http://127.0.0.1:3001/health/ready",
]
while time.monotonic() < deadline:
if not container_running(container):