futurestudio

futurestudio/hapi-pulse

hapi plugin that gracefully stops the hapi server (for graceful process reloads, e.g. with PM2)

JavaScript
20
1
MIT License

hapi-pulse is a plugin that gracefully stops a hapi server, allowing existing requests to complete before shutting down. It's designed for developers using process managers like PM2 to achieve zero-downtime deployments by handling `SIGINT` and `SIGTERM` signals.

Total donated
Undistributed
Share with your subscribers: