From 1deb1fc0718d4b9451583bed09bf39c36525b26a Mon Sep 17 00:00:00 2001 From: Mystikfluu Date: Wed, 21 Sep 2022 16:38:23 +0200 Subject: [PATCH] change ratelimit logging message --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index f6de644..ce3f001 100644 --- a/server.js +++ b/server.js @@ -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;