stuff
This commit is contained in:
parent
b5baacf668
commit
191851e2bb
@ -80,7 +80,9 @@ var checkWorkersBalance = function(){
|
|||||||
|
|
||||||
console.log('stopping workers balancing check');
|
console.log('stopping workers balancing check');
|
||||||
isCheckingWorkers = false;
|
isCheckingWorkers = false;
|
||||||
if(changed) checkWorkersBalance();
|
if(changed) setTimeout(function(){
|
||||||
|
checkWorkersBalance();
|
||||||
|
}, 3000);
|
||||||
};
|
};
|
||||||
|
|
||||||
var start
|
var start
|
||||||
@ -131,6 +133,7 @@ var run = function(req, res, runner){
|
|||||||
|
|
||||||
return request.post(httpOptions, function(error, response, body){
|
return request.post(httpOptions, function(error, response, body){
|
||||||
// console.log('runner response:', arguments)
|
// console.log('runner response:', arguments)
|
||||||
|
console.log()
|
||||||
body = JSON.parse(body);
|
body = JSON.parse(body);
|
||||||
|
|
||||||
body['ip'] = getAvailrunner(runner).label;
|
body['ip'] = getAvailrunner(runner).label;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user