From 7d4965b21e722d4c7f5165380f3b2c79983b91b2 Mon Sep 17 00:00:00 2001 From: william Date: Fri, 27 May 2016 00:34:24 -0400 Subject: [PATCH] stuff --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 0124816..e6c933e 100644 --- a/routes/api.js +++ b/routes/api.js @@ -158,7 +158,7 @@ var getAvailrunner = function(runner){ var startRunners = function(worker, stopPercent){ console.log('starting runners on', worker.name) - stopPercent = stopPercent || 80; + stopPercent = stopPercent || 15; ramPercentUsed(worker.ip, function(usedMemPercent){ if(usedMemPercent < stopPercent ){ var name = 'crunner-'+(Math.random()*100).toString().replace('.','');