add config

This commit is contained in:
Jeffrey Sun 2017-05-02 14:37:03 -07:00
parent 7c34463cc4
commit f5712fef77
1 changed files with 3 additions and 0 deletions

View File

@ -46,4 +46,7 @@ cluster((worker) => {
app.listen(activePort, () => {
console.log('worker ' + worker.id + ' is listening on port ' + activePort);
});
}, {
'respawn': true, // workers will restart on failure
'verbose': true, // logs what happens to console
})