Node.js Graceful Shutdown: Draining HTTP and Queue Workers
Build a time-boxed Node.js graceful shutdown: handle SIGTERM once, fail readiness, drain keep-alive sockets and queue workers, and exit before SIGKILL.
14 min read
Tag
Build a time-boxed Node.js graceful shutdown: handle SIGTERM once, fail readiness, drain keep-alive sockets and queue workers, and exit before SIGKILL.
14 min read