We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 931a5aa commit 4a7a2f6Copy full SHA for 4a7a2f6
src/app/api/v1/health.py
@@ -41,7 +41,6 @@ async def ready(redis: Annotated[Redis, Depends(async_get_redis)], db: Annotated
41
redis_status = await check_redis_health(redis=redis)
42
LOGGER.debug(f"Redis health check status: {redis_status}")
43
44
- # Overall status
45
overall_status = STATUS_HEALTHY if database_status and redis_status else STATUS_UNHEALTHY
46
http_status = status.HTTP_200_OK if overall_status == STATUS_HEALTHY else status.HTTP_503_SERVICE_UNAVAILABLE
47
0 commit comments