mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
/api/health gives the database two seconds and answers 503 past that. With three retries, a pool saturated for a minute after the start period could mark the container unhealthy and take it out of the proxy's routing. The compose healthcheck and the image's HEALTHCHECK now allow five misses (two and a half minutes) and end wget after four seconds, inside Docker's five, so a stalled request is one clean miss. A test holds both to these bounds and to each other.