ip 请求次数限制19

This commit is contained in:
GYJ 2025-03-24 13:45:35 +08:00
parent 69cf777a8f
commit 2f61455c7c
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ public class IpAccessCounter {
// 一分钟的毫秒数
private static final long ONE_MINUTE = 60 * 1000;
// 十分钟的毫秒数
private static final long TEN_MINUTES = 10 * ONE_MINUTE;
private static final long TEN_MINUTES = 3 * 10 * ONE_MINUTE;
private static AtomicInteger removeCount = new AtomicInteger(0);