|
|
@ -26,7 +26,7 @@ var app,
|
|
|
|
helpers: require('../controllers/helpers')
|
|
|
|
helpers: require('../controllers/helpers')
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
toobusy.maxLag(parseInt(meta.config.eventLoopLagThreshold, 10) || 70);
|
|
|
|
toobusy.maxLag(parseInt(meta.config.eventLoopLagThreshold, 10) || 100);
|
|
|
|
toobusy.interval(parseInt(meta.config.eventLoopInterval, 10) || 500);
|
|
|
|
toobusy.interval(parseInt(meta.config.eventLoopInterval, 10) || 500);
|
|
|
|
|
|
|
|
|
|
|
|
middleware.authenticate = function(req, res, next) {
|
|
|
|
middleware.authenticate = function(req, res, next) {
|
|
|
|