stuff
This commit is contained in:
1 parent
f32d6f70a9
commit
19293fdaff
1 file changed
+1
-1
+1
-1
@@ -107,7 +107,7 @@ var getAvailContainer = function(){
|
|||||||
};
|
};
|
||||||
|
|
||||||
var startWorker = function(worker, stopPercent){
|
var startWorker = function(worker, stopPercent){
|
||||||
stopPercent = stopPercent || 60;
|
stopPercent = stopPercent || 80;
|
||||||
getFreeMem(worker.ip, function(usedMemPercent){
|
getFreeMem(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('.','');
|
||||||
|
|||||||
Reference in new issue
Block a user