stuff
This commit is contained in:
1 parent
9991e7eb36
commit
8a5001aee7
1 file changed
+1
-1
+1
-1
@@ -59,7 +59,7 @@ var checkWorkersBalance = function(){
|
||||
console.log('No workers, starting droplet');
|
||||
return workerCreate();
|
||||
}
|
||||
if(workers[workers.length-1].availrunners.length === 0){
|
||||
if(workers[workers.length-1].usedrunner !== 0){
|
||||
console.log('last droplet has no free runners, starting droplet');
|
||||
return workerCreate();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user