Authored by chunhua.zhang

Update MaliciousIpJob.java

... ... @@ -42,7 +42,7 @@ public class MaliciousIpJob {
/**
* 次数大于等于100
*/
private final static int COUNT_MAX = 100;
private final static int COUNT_MAX = 50;
/**
* 敏感接口比例大于等于99%,且敏感接口QPS大于等于100的值,暂时默认放到黑名单
... ... @@ -58,7 +58,7 @@ public class MaliciousIpJob {
uploadMaliciousIp();
}
}; //0:代表是延迟0
timer.scheduleAtFixedRate(timerTask, 0, 1* 5 * 1000);
timer.scheduleAtFixedRate(timerTask, 0, 1* 2 * 1000);
}
private void uploadMaliciousIp(){
... ...