- GET /health checks redis and returns 200 or 503. GET /health/live returns 200 while the process runs. neither needs auth, see the standalone options docs for kubernetes probes and a docker compose healthcheck
- SIGTERM and SIGINT now finish in-flight requests, close redis and exit 0, giving up after 8 s. docker stop used to hang for 10 s and then kill the process