fixed cleanup timeouts
This commit is contained in:
parent
be4654aee7
commit
ea7079291e
2
app.js
2
app.js
@ -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'));
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user