projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e62d596
)
cluster: variable is not global
author
Brian White
<mscdex@mscdex.net>
Thu, 15 Aug 2013 21:56:25 +0000
(17:56 -0400)
committer
Trevor Norris
<trev.norris@gmail.com>
Fri, 16 Aug 2013 00:19:18 +0000
(17:19 -0700)
lib/cluster.js
patch
|
blob
|
history
diff --git
a/lib/cluster.js
b/lib/cluster.js
index
50a94f1
..
72060c4
100644
(file)
--- a/
lib/cluster.js
+++ b/
lib/cluster.js
@@
-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);
});