@ -18,7 +18,7 @@ module.exports = function (middleware) {
const count = (cache.peek(`${req.ip}:uploaded_file_count`) || 0) + req.files.files.length;
if (count >= meta.config.uploadRateLimitThreshold) {
if (count > meta.config.uploadRateLimitThreshold) {
return next(new Error(['[[error:upload-ratelimit-reached]]']));
}