fixed cleanup timeouts

This commit is contained in:
cubedro 2015-05-11 22:10:19 +03:00
parent be4654aee7
commit ea7079291e
2 changed files with 2 additions and 2 deletions

2
app.js
View File

@ -198,7 +198,7 @@ var nodeCleanupTimeout = setInterval( function ()
action: 'charts', action: 'charts',
data: Nodes.getCharts() data: Nodes.getCharts()
}); });
}, 1000*60); }, 1000*60*60);
// view engine setup // view engine setup
app.set('views', path.join(__dirname, 'views')); app.set('views', path.join(__dirname, 'views'));

View File

@ -2,7 +2,7 @@ var geoip = require('geoip-lite');
var _ = require('lodash'); var _ = require('lodash');
var MAX_HISTORY = 40; var MAX_HISTORY = 40;
var MAX_INACTIVE_TIME = 1000*60*4; var MAX_INACTIVE_TIME = 1000*60*60*4;
var Node = function Node(data) var Node = function Node(data)
{ {