|
@@ -60,7 +60,8 @@ async def health():
|
|
|
@app.get("/health/redis")
|
|
@app.get("/health/redis")
|
|
|
async def redis_health():
|
|
async def redis_health():
|
|
|
try:
|
|
try:
|
|
|
- return check_redis_connection()
|
|
|
|
|
|
|
+ return {"ok": False, "skipped": True, "reason": "redis check disabled"}
|
|
|
|
|
+ # return check_redis_connection()
|
|
|
except Exception as exc:
|
|
except Exception as exc:
|
|
|
logger.error("redis health check failed err=%s", exc)
|
|
logger.error("redis health check failed err=%s", exc)
|
|
|
raise HTTPException(status_code=HTTP_502_BAD_GATEWAY, detail="Redis unavailable")
|
|
raise HTTPException(status_code=HTTP_502_BAD_GATEWAY, detail="Redis unavailable")
|