From 129cd54812c57ccdde8934057a936cffd1cb1dba Mon Sep 17 00:00:00 2001 From: william Date: Thu, 26 May 2016 21:16:02 -0400 Subject: [PATCH] stuff --- routes/api.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/routes/api.js b/routes/api.js index 87a5626..ca3f33f 100644 --- a/routes/api.js +++ b/routes/api.js @@ -31,7 +31,7 @@ var containerFree = function(container){ }; var lxcTimeout = function(container, time){ - time = time || 900000; // 15 minutes + time = time || 60000 // 900000; // 15 minutes if(container.hasOwnProperty('timeout')){ clearTimeout(container.timeout); @@ -197,8 +197,7 @@ router.get('/stop/:name', function(req, res, next){ }); router.get('/liststuff', function(req, res, next){ - var obj = util.inspect(workers); - console.log('worker inspected:', obj) + var obj = util.inspect(workers, {depth: 4}); res.send(obj); });