cluster: variable is not global
This commit is contained in:
parent
e62d5964de
commit
d70e6491ae
@ -264,6 +264,7 @@ function masterInit() {
|
||||
|
||||
process.on('internalMessage', function(message) {
|
||||
if (message.cmd !== 'NODE_DEBUG_ENABLED') return;
|
||||
var key;
|
||||
for (key in cluster.workers)
|
||||
process._debugProcess(cluster.workers[key].process.pid);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user