This commit is contained in:
William Mantly 2016-05-27 15:02:32 -04:00
parent 6b72ddcdd4
commit 7fcbcecb6a

View File

@ -164,7 +164,7 @@ var getAvailrunner = function(runner){
var startRunners = function(worker, stopPercent){
console.log('starting runners on', worker.name)
stopPercent = stopPercent || 15;
stopPercent = stopPercent || 30;
ramPercentUsed(worker.ip, function(usedMemPercent){
if(usedMemPercent < stopPercent ){
var name = 'crunner-'+(Math.random()*100).toString().replace('.','');