change ratelimit logging message

This commit is contained in:
Mystikfluu 2022-09-21 16:38:23 +02:00
parent dc3f004019
commit 1deb1fc071

View File

@ -295,7 +295,7 @@ function increaseIndividualCall(url, req) {
}
INDIVIDUAL_CALLS[ip][url]++;
if (INDIVIDUAL_CALLS[ip][url] >= conf["max"]) {
console.log(5, "ratelimiting someone on", url, INDIVIDUAL_CALLS[ip][url], conf["max"]);
console.log(3, "ratelimiting someone on", url, INDIVIDUAL_CALLS[ip][url], conf["max"],ip);
return false;
}
return true;