ip 请求次数限制4 日志修改2

This commit is contained in:
GYJ 2025-03-23 21:03:01 +08:00
parent 73bdb19fce
commit 9e93e0b7d2
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ public class IpAccessCounter {
}
}
removedBlacklistIps.forEach(BLACKLIST::remove);
log.info("IpAccessCounter 清理完成,移除了 {} 个 IP 的黑名单记录,当前 BLACKLIST 大小: {}", removedBlacklistIps.size(), BLACKLIST.size());
log.info("IpAccessCounter 清理完成,移除了 {} 个 IP 的黑名单记录,当前 BLACKLIST 大小: {}, IP_ACCESS_TIMES 大小: {}",
removedBlacklistIps.size(), BLACKLIST.size(), IP_ACCESS_TIMES.size());
}
}, ONE_MINUTE, 20000);
}