diff --git a/app/main.py b/app/main.py index 6e55095..d64e7c4 100644 --- a/app/main.py +++ b/app/main.py @@ -7,7 +7,7 @@ _healthy = True @app.get("/health") -def health(): +async def health(): if not _healthy: return JSONResponse( status_code=status.HTTP_503_SERVICE_UNAVAILABLE,