stuff
This commit is contained in:
parent
e6dee5bde3
commit
0b9b5c0627
@ -66,7 +66,8 @@ var checkWorkersBalance = function(){
|
|||||||
|
|
||||||
if(workers.length < 2){
|
if(workers.length < 2){
|
||||||
console.log('less then 2 workers, starting a droplet');
|
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){
|
if(workers[workers.length-1].usedrunner !== 0){
|
||||||
console.log('last droplet has no free runners, starting droplet');
|
console.log('last droplet has no free runners, starting droplet');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user