This commit is contained in:
William Mantly 2016-05-28 01:49:41 -04:00
parent b84c87d55d
commit 2ba7fa58e2

View File

@ -62,7 +62,7 @@ var checkWorkersBalance = function(count){
if(isCheckingWorkers) return false;
isCheckingWorkers = true;
var changed = false;
console.log('checking balance');
if(workers.length < count){
console.log('less then 2 workers, starting a droplet');
return workerCreate();