mirror of
https://github.com/tiennm99/openai-status-bot.git
synced 2026-09-03 12:22:05 +00:00
The health endpoint returned 200 unconditionally from before dependencies were ready and never reflected MongoDB state. Handler now takes a readiness check; the endpoint returns 503 while starting or when MongoDB is unreachable and 200 only when ready.