Skip to content

Commit

Permalink
Master#maintainWorkerCount() calling Master#workerKilled()
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Feb 21, 2011
1 parent 07781a5 commit c204891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/master.js
Expand Up @@ -377,7 +377,7 @@ Master.prototype.maintainWorkerCount = function(){
// check workers
this.children.forEach(function(worker){
var pid = worker.proc.pid;
if (!pid) this.spawnWorker(worker.id);
if (!pid) this.workerKilled(worker);
}, this);
};

Expand Down

0 comments on commit c204891

Please sign in to comment.