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:
69d3bf1
)
cluster: fix call to undefined function
author
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 8 Nov 2011 07:29:25 +0000
(08:29 +0100)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 8 Nov 2011 07:29:25 +0000
(08:29 +0100)
lib/cluster.js
patch
|
blob
|
history
diff --git
a/lib/cluster.js
b/lib/cluster.js
index
589798e
..
01547d6
100644
(file)
--- a/
lib/cluster.js
+++ b/
lib/cluster.js
@@
-80,7
+80,7
@@
function startMaster() {
process.on('uncaughtException', function(e) {
// Quickly try to kill all the workers.
// TODO: be session leader - will cause auto SIGHUP to the children.
-
cluster.
eachWorker(function(worker) {
+ eachWorker(function(worker) {
debug("kill worker " + worker.pid);
worker.kill();
})