cluster: fix call to undefined function
This commit is contained in:
parent
69d3bf1068
commit
105d1787dc
@ -80,7 +80,7 @@ function startMaster() {
|
|||||||
process.on('uncaughtException', function(e) {
|
process.on('uncaughtException', function(e) {
|
||||||
// Quickly try to kill all the workers.
|
// Quickly try to kill all the workers.
|
||||||
// TODO: be session leader - will cause auto SIGHUP to the children.
|
// TODO: be session leader - will cause auto SIGHUP to the children.
|
||||||
cluster.eachWorker(function(worker) {
|
eachWorker(function(worker) {
|
||||||
debug("kill worker " + worker.pid);
|
debug("kill worker " + worker.pid);
|
||||||
worker.kill();
|
worker.kill();
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user