mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
refactor: tab rules
This commit is contained in:
@@ -168,7 +168,7 @@ function setupExpressApp(app) {
|
||||
app.use((req, res, next) => {
|
||||
als.run({ uid: req.uid }, next);
|
||||
});
|
||||
app.use(middleware.autoLocale); // must be added after auth middlewares are added
|
||||
app.use(middleware.autoLocale); // must be added after auth middlewares are added
|
||||
|
||||
const toobusy = require('toobusy-js');
|
||||
toobusy.maxLag(meta.config.eventLoopLagThreshold);
|
||||
|
||||
Reference in New Issue
Block a user