Zero-Downtime Deploys: Handling SIGTERM & In-Flight Requests
Always stop accepting new connections before closing database pools on SIGTERM so rolling restarts produce zero 502 errors.
Always stop accepting new connections before closing database pools on SIGTERM so rolling restarts produce zero 502 errors.