Files
leadchat/config/initializers
Vishnu Narayanan 0ca98bc84f feat: add lightweight /health endpoint (#13386)
The existing /api health check endpoint creates a new Redis connection
on every request and checks both Redis and Postgres availability. During
peak traffic, this creates unnecessary load and can cause cascading
failures when either service is slow - instances get marked unhealthy,
traffic shifts to remaining instances, which then also fail health
checks.

The new /health endpoint:
  - Returns immediately with 200 {"status":"woot"}
  - Skips all middleware and authentication
  - No Redis or Postgres dependency
- Suitable for health checks that only need to verify the web server is
responding
2026-01-29 00:24:01 +05:30
..
2023-03-01 20:02:58 +05:30
2019-08-19 13:49:57 +05:30
2019-08-14 15:18:44 +05:30
2025-05-22 10:13:15 +05:30
2019-08-19 13:49:57 +05:30
2025-09-18 20:19:24 +05:30
2019-08-14 15:18:44 +05:30
2019-08-14 15:18:44 +05:30
2019-10-20 14:17:26 +05:30
2019-08-14 15:18:44 +05:30