Update dependencies

This commit is contained in:
Thomas Oberndörfer
2019-05-27 14:31:22 +02:00
parent d14b0dc390
commit 9064089482
4 changed files with 721 additions and 270 deletions

View File

@@ -37,7 +37,7 @@ if (cluster.isMaster) {
cluster.on('fork', worker => log.info('cluster', `Forked worker #${worker.id} [pid:${worker.process.pid}]`));
cluster.on('exit', worker => {
log.warn('cluster', `Worker #${worker.id} [pid:${worker.process.pid}] died`);
setTimeout(() => cluster.fork(), 5000);
cluster.fork();
});
} else {
require('./src');