This commit is contained in:
William Mantly 2016-05-02 00:40:50 -04:00
parent d10c699145
commit 7e5fae983b

View File

@ -156,7 +156,7 @@ router.post('/run/:ip?', function doRun(req, res, next){
var startAll = function(){
getFreeMem(function(usedMemPercent){
if(usedMemPercent < 85 ){
if(usedMemPercent < 81 ){
var name = 'crunner-'+(Math.random()*100).toString().replace('.','');
return lxc.startEphemeral(name, 'crunner0', function(data){
ip2name[data.ip] = name;