stuff
This commit is contained in:
parent
1af8aed161
commit
7d4965b21e
@ -158,7 +158,7 @@ var getAvailrunner = function(runner){
|
|||||||
|
|
||||||
var startRunners = function(worker, stopPercent){
|
var startRunners = function(worker, stopPercent){
|
||||||
console.log('starting runners on', worker.name)
|
console.log('starting runners on', worker.name)
|
||||||
stopPercent = stopPercent || 80;
|
stopPercent = stopPercent || 15;
|
||||||
ramPercentUsed(worker.ip, function(usedMemPercent){
|
ramPercentUsed(worker.ip, function(usedMemPercent){
|
||||||
if(usedMemPercent < stopPercent ){
|
if(usedMemPercent < stopPercent ){
|
||||||
var name = 'crunner-'+(Math.random()*100).toString().replace('.','');
|
var name = 'crunner-'+(Math.random()*100).toString().replace('.','');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user