simpler
This commit is contained in:
parent
8e89c986bb
commit
5711070d92
@ -214,6 +214,7 @@ var workers = (function(){
|
|||||||
|
|
||||||
workers.checkForZombies();
|
workers.checkForZombies();
|
||||||
|
|
||||||
|
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 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.min) null;
|
||||||
else if(workers.currentCreating)
|
else if(workers.currentCreating)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user