mirror of
https://git.sleeping.town/mirrors/foxy-moxy
synced 2024-11-23 20:47:44 +00:00
add config
This commit is contained in:
parent
7c34463cc4
commit
f5712fef77
1 changed files with 3 additions and 0 deletions
|
@ -46,4 +46,7 @@ cluster((worker) => {
|
||||||
app.listen(activePort, () => {
|
app.listen(activePort, () => {
|
||||||
console.log('worker ' + worker.id + ' is listening on port ' + 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
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue