stuff
This commit is contained in:
1 parent
e6dee5bde3
commit
0b9b5c0627
1 file changed
+2
-1
+2
-1
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user