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',
|
||||
data: Nodes.getCharts()
|
||||
});
|
||||
}, 1000*60);
|
||||
}, 1000*60*60);
|
||||
|
||||
// view engine setup
|
||||
app.set('views', path.join(__dirname, 'views'));
|
||||
|
@ -2,7 +2,7 @@ var geoip = require('geoip-lite');
|
||||
var _ = require('lodash');
|
||||
|
||||
var MAX_HISTORY = 40;
|
||||
var MAX_INACTIVE_TIME = 1000*60*4;
|
||||
var MAX_INACTIVE_TIME = 1000*60*60*4;
|
||||
|
||||
var Node = function Node(data)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user