fix timeout

This commit is contained in:
Adil Hafeez 2024-10-28 14:12:48 -07:00
parent bee9f0dedb
commit e4dc48a62d
2 changed files with 2 additions and 2 deletions

View file

@ -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: