We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b7e5d7 commit ed4fcb9Copy full SHA for ed4fcb9
src/main/java/org/b3log/symphony/processor/middleware/AnonymousViewCheckMidware.java
@@ -168,7 +168,7 @@ public void handle(final RequestContext context) {
168
ipFirstVisitTimeCache.put(ip, firstVisitTime);
169
}
170
171
- // 计数逻辑(包含两种策略:2 小时内首次访问一次验证码,其后每 3 次一次)
+ // 计数逻辑(包含两种策略:2 小时内首次访问一次验证码,其后每 10 次一次)
172
Integer count = ipVisitCountCache.getIfPresent(ip);
173
if (count == null) count = 0;
174
count++;
0 commit comments