stuff
This commit is contained in:
parent
c6e9ec62ba
commit
129cd54812
@ -31,7 +31,7 @@ var containerFree = function(container){
|
|||||||
};
|
};
|
||||||
|
|
||||||
var lxcTimeout = function(container, time){
|
var lxcTimeout = function(container, time){
|
||||||
time = time || 900000; // 15 minutes
|
time = time || 60000 // 900000; // 15 minutes
|
||||||
|
|
||||||
if(container.hasOwnProperty('timeout')){
|
if(container.hasOwnProperty('timeout')){
|
||||||
clearTimeout(container.timeout);
|
clearTimeout(container.timeout);
|
||||||
@ -197,8 +197,7 @@ router.get('/stop/:name', function(req, res, next){
|
|||||||
});
|
});
|
||||||
|
|
||||||
router.get('/liststuff', function(req, res, next){
|
router.get('/liststuff', function(req, res, next){
|
||||||
var obj = util.inspect(workers);
|
var obj = util.inspect(workers, {depth: 4});
|
||||||
console.log('worker inspected:', obj)
|
|
||||||
res.send(obj);
|
res.send(obj);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user