IP 차단 관련 오류 확인전
This commit is contained in:
parent
088f75ce63
commit
909e61ddd7
@ -131,7 +131,9 @@ public class HackIpServiceImpl extends EgovAbstractServiceImpl implements HackIp
|
|||||||
if(ipList.size() > 0) {
|
if(ipList.size() > 0) {
|
||||||
String msg = "[IP차단] " + list.get(0).getIgnoreDc() +" - "+ ipList.toString();
|
String msg = "[IP차단] " + list.get(0).getIgnoreDc() +" - "+ ipList.toString();
|
||||||
// Slack 메시지 발송
|
// Slack 메시지 발송
|
||||||
mjonCommon.sendSimpleSlackMsg(msg);
|
|
||||||
|
System.out.println("@@@@@@@@@@@@@@@ ----------- "+msg);
|
||||||
|
// mjonCommon.sendSimpleSlackMsg(msg);
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
@ -252,8 +252,8 @@ public class SchedulerUtil {
|
|||||||
|
|
||||||
|
|
||||||
// 트래픽 감시 스케줄러
|
// 트래픽 감시 스케줄러
|
||||||
// 매분마다 실행
|
// 3분마다 실행
|
||||||
@Scheduled(cron = "37 * * * * *")
|
@Scheduled(cron = "0 0/3 * * * ?")
|
||||||
@SchedulerLock(name = "highTrafficIgnoreIpInsert", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
|
@SchedulerLock(name = "highTrafficIgnoreIpInsert", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
|
||||||
public void highTrafficIgnoreIpInsert() throws Exception {
|
public void highTrafficIgnoreIpInsert() throws Exception {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user