mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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) {
|
if (!cache) {
|
||||||
cache = cacheCreate({
|
cache = cacheCreate({
|
||||||
|
name: 'upload-rate-limit-cache',
|
||||||
ttl: meta.config.uploadRateLimitCooldown * 1000,
|
ttl: meta.config.uploadRateLimitCooldown * 1000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user