Add a log on cluster startup, including date and pid
This commit is contained in:
parent
61f4212ba2
commit
6c40d936ef
@ -51,6 +51,8 @@ var cluster = new Cluster({
|
||||
noWorkers: 1
|
||||
});
|
||||
|
||||
console.log(new Date().toISOString() + " - " + process.pid + " - Windshaft cluster starting");
|
||||
|
||||
cluster.listen(function(cb) {
|
||||
cb(ws);
|
||||
}, function() {
|
||||
|
Loading…
Reference in New Issue
Block a user