mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
fix timeout
This commit is contained in:
parent
bee9f0dedb
commit
e4dc48a62d
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ log starting the arch gateway service
|
|||
log =================================
|
||||
docker compose -f docker-compose.e2e.yaml down
|
||||
log waiting for model service to be healthy
|
||||
wait_for_healthz "http://localhost:51000/healthz" 600
|
||||
wait_for_healthz "http://localhost:51000/healthz" 300
|
||||
kill $model_server_tail_pid
|
||||
docker compose -f docker-compose.e2e.yaml up -d
|
||||
log waiting for arch gateway service to be healthy
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ def start_server(port=51000):
|
|||
process.terminate()
|
||||
|
||||
|
||||
def wait_for_health_check(url, timeout=180):
|
||||
def wait_for_health_check(url, timeout=300):
|
||||
"""Wait for the Uvicorn server to respond to health-check requests."""
|
||||
start_time = time.time()
|
||||
while time.time() - start_time < timeout:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue