mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: add missing cache name
This commit is contained in:
@@ -20,6 +20,7 @@ exports.ratelimit = helpers.try(async (req, res, next) => {
|
||||
}
|
||||
if (!cache) {
|
||||
cache = cacheCreate({
|
||||
name: 'upload-rate-limit-cache',
|
||||
ttl: meta.config.uploadRateLimitCooldown * 1000,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user