info
This commit is contained in:
parent
d4214cbf1d
commit
360f2c591d
@ -47,7 +47,7 @@ var runner = function(req, res, container){
|
||||
var httpOptions = {
|
||||
url: 'http://' + container.worker.ip,
|
||||
headers: {
|
||||
host: container.name
|
||||
Host: container.name
|
||||
},
|
||||
body: JSON.stringify({
|
||||
code: req.body.code
|
||||
@ -63,7 +63,7 @@ var runner = function(req, res, container){
|
||||
};
|
||||
|
||||
var startWorkers = function(clworker, stopPercent){
|
||||
stopPercent = stopPercent || 20;
|
||||
stopPercent = stopPercent || 30;
|
||||
console.log(clworker)
|
||||
getFreeMem(clworker.ip, function(usedMemPercent){
|
||||
console.log(arguments)
|
||||
|
Loading…
x
Reference in New Issue
Block a user