Skip to content

Commit

Permalink
fix: 스케줄러 멈춤 (poc)
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Sep 27, 2024
1 parent d661bdc commit 9812b7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class GroupRankScheduler(
private val groupRankRefreshJob: GroupRankRefreshJob,
) {
/** 10초에 한번 스케줄러 동작 */
@Scheduled(fixedRate = 10000)
// @Scheduled(fixedRate = 10000)
fun runRefreshGroupRank() {
CoroutineScope(Dispatchers.IO + Job()).launch {
groupRankRefreshJob.run()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PoseCountScheduler(
private val logger = KotlinLogging.logger { }

/** 전일 데이터에 대한 정합성 체크 */
@Scheduled(cron = "0 0 4 * * *")
// @Scheduled(cron = "0 0 4 * * *")
fun poseCountUpdateJob() {
val targetDate = LocalDate.now().minusDays(1)

Expand Down

0 comments on commit 9812b7d

Please sign in to comment.