This commit is contained in:
wmantly committed 2016-05-27 15:39:41 -04:00
1 parent 9991e7eb36
commit 8a5001aee7
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}