fixes
This commit is contained in:
1 parent
5711070d92
commit
128320f80e
1 file changed
+1
-1
+1
-1
@@ -216,7 +216,7 @@ var workers = (function(){
|
||||
|
||||
console.log(workers.currentCreating+workers.length, workers.currentCreating+workers.length < workers.min)
|
||||
// if there are workers being created, stop scale up and down check
|
||||
if(workers.currentCreating+workers.length < workers.min) null;
|
||||
if(workers.currentCreating+workers.length < workers.settings.min) null;
|
||||
else if(workers.currentCreating)
|
||||
return console.log('killing balance, worker is being created.');
|
||||
|
||||
|
||||
Reference in new issue
Block a user