How does Node.js handle SIGTERM in regards to HTTP connections?
Issue
- Does Node.js gracefully shutdown when it receives a
SIGTERM
? - Are HTTP connections kept open until requests complete when a
SIGTERM
is received?
Environment
- Red Hat Software Collections
- Node.js
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.