fix: wrong variable for cache

v1.18.x
psychobunny 4 years ago 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) {

Loading…
Cancel
Save