Skip to content

Commit

Permalink
RAC-451 fix : 반복시 잠시 대기 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Nov 4, 2024
1 parent 9a11688 commit 341be2a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ private void checkSalaryJobSuccess(JobParameters jobParameters) throws JobExecut
success = true;
break;
}
try {
Thread.sleep(5000);
} catch (InterruptedException ex) {
Thread.currentThread().interrupt(); //스레드 상태 복원
log.error("Thread Interrupt 발생");
}
jobLauncher.run(salaryJobWithAdmin, jobParameters);
retries++;
}
Expand Down

0 comments on commit 341be2a

Please sign in to comment.