nodowntime
Copyright (c) 2017 Michael Welter michael@yammm.com
About
Simple module to gracefully restart worker processes one at a time to ensure no downtime.
To work correctly workers will need to handle disconnect message.
Install
$ npm install --save nodowntime
Restart
kill -s HUP $MAINPID
Usage
const cluster = ; if clusterisMaster // no downtime module return ; // graceful exit if our master requests itclusterworker;
Debug
NODE_DEBUG=nodowntime