Update index.js
This commit is contained in:
1 parent
8ea212c7f8
commit
234584bf1f
1 file changed
+1
-1
@@ -77,7 +77,7 @@ const reportIp = async ({ srcIp, dpt = 'N/A', proto = 'N/A', timestamp }, catego
|
||||
ABUSE_STATE.sentBulk = false;
|
||||
LAST_RATELIMIT_LOG = Date.now();
|
||||
RATELIMIT_RESET = nextRateLimitReset();
|
||||
logger.info(`Daily AbuseIPDB limit reached. Buffering reports until ${RATELIMIT_RESET.toLocaleString()}`, { discord: true });
|
||||
logger.info(`Daily API request limit for specified endpoint reached. Reports will be buffered until ${RATELIMIT_RESET.toLocaleString()}. Bulk report will be sent the following day.`, { discord: true });
|
||||
}
|
||||
|
||||
if (!BULK_REPORT_BUFFER.has(srcIp)) {
|
||||
|
||||
Reference in new issue
Block a user