.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user