리스트 카운트 추가
This commit is contained in:
parent
dc23493ed8
commit
b62c397320
@ -92,7 +92,7 @@ public class SchedulerUtil {
|
|||||||
* 2분 마다 1주일 데이터에서 환불 대상을 찾아서 환불 한다.
|
* 2분 마다 1주일 데이터에서 환불 대상을 찾아서 환불 한다.
|
||||||
* */
|
* */
|
||||||
// Schdule Lock (10분동안)
|
// Schdule Lock (10분동안)
|
||||||
@Scheduled(cron = "0 0/10 * * * ?")
|
@Scheduled(cron = "0 0/5 * * * ?")
|
||||||
@SchedulerLock(name = "runScenarioOneTime", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
|
@SchedulerLock(name = "runScenarioOneTime", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
|
||||||
public void runScenarioOneTime() throws Exception {
|
public void runScenarioOneTime() throws Exception {
|
||||||
|
|
||||||
@ -489,6 +489,7 @@ public class SchedulerUtil {
|
|||||||
|
|
||||||
long forBeforeTime = System.currentTimeMillis(); // 코드 실행 전 시간
|
long forBeforeTime = System.currentTimeMillis(); // 코드 실행 전 시간
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
System.out.println("== msgFailList =============> : "+ msgFailList.size());
|
||||||
for(MjonMsgVO vo : msgFailList) {
|
for(MjonMsgVO vo : msgFailList) {
|
||||||
System.out.println(count + " : "+ msgFailList.size());
|
System.out.println(count + " : "+ msgFailList.size());
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user