IP 차단 관련 오류 확인전

This commit is contained in:
gbsa-iten 2024-04-09 10:32:09 +09:00
parent 088f75ce63
commit 909e61ddd7
2 changed files with 5 additions and 3 deletions

View File

@ -131,7 +131,9 @@ public class HackIpServiceImpl extends EgovAbstractServiceImpl implements HackIp
if(ipList.size() > 0) {
String msg = "[IP차단] " + list.get(0).getIgnoreDc() +" - "+ ipList.toString();
// Slack 메시지 발송
mjonCommon.sendSimpleSlackMsg(msg);
System.out.println("@@@@@@@@@@@@@@@ ----------- "+msg);
// mjonCommon.sendSimpleSlackMsg(msg);
}
//

View File

@ -252,8 +252,8 @@ public class SchedulerUtil {
// 트래픽 감시 스케줄러
// 분마다 실행
@Scheduled(cron = "37 * * * * *")
// 3분마다 실행
@Scheduled(cron = "0 0/3 * * * ?")
@SchedulerLock(name = "highTrafficIgnoreIpInsert", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
public void highTrafficIgnoreIpInsert() throws Exception {