Update api.js

This commit is contained in:
William Mantly 2017-10-08 16:15:50 -04:00 committed by GitHub
parent 84a51ca0db
commit 3b36642ff8

View File

@ -182,7 +182,7 @@ var workers = (function(){
lastMinAval++;
}
}
if(lastMinAval == wokers.settings.minAvail){
if(lastMinAval == workers.settings.minAvail){
console.log('Last 3 runners not used, killing last runner', workers.length);
return workers.destroy();
}