mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: wrong variable for cache
This commit is contained in:
committed by
Andrew Rodrigues
parent
13fa983e61
commit
2e9efc0e8a
@@ -6,7 +6,7 @@ const helpers = require('./helpers');
|
||||
const user = require('../user');
|
||||
|
||||
const cache = new LRU({
|
||||
maxAge: meta.config.uploadRateLimitThreshold * 1000,
|
||||
maxAge: meta.config.uploadRateLimitCooldown * 1000,
|
||||
});
|
||||
|
||||
module.exports = function (middleware) {
|
||||
|
||||
Reference in New Issue
Block a user