ip 请求次数限制8

This commit is contained in:
GYJ 2025-03-23 21:58:17 +08:00
parent 61bc2206bf
commit de561f5626
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ public class IpAccessCounter {
timer.scheduleAtFixedRate(new TimerTask() {
@Override
public void run() {
log.info("IpAccessCounter 清理启动,定时任务启动");
long currentTime = System.currentTimeMillis();
// 用于记录移除的 IP 集合