This commit is contained in:
William Mantly 2016-05-29 00:36:56 -04:00
parent e6dee5bde3
commit 0b9b5c0627

View File

@ -66,7 +66,8 @@ var checkWorkersBalance = function(){
if(workers.length < 2){
console.log('less then 2 workers, starting a droplet');
return workerCreate();
for(var i=0; i<2) workerCreate();
return ;
}
if(workers[workers.length-1].usedrunner !== 0){
console.log('last droplet has no free runners, starting droplet');