mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 07:56:52 +08:00
refactor: unify database readiness lifecycle
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user