Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void init() {
refresh();
}

@Scheduled(cron = "0 */5 * * * *") // 매 5분마다 실행
@Scheduled(cron = "*/30 * * * * *") // 매 5분마다 실행
public void refresh() {
log.info("RankingRefreshScheduler.refresh() called at {}", LocalDateTime.now());

Expand All @@ -62,7 +62,6 @@ private void doRefresh() {
log.warn("매출 데이터가 없습니다. 다음 스냅샷 키를 초기화합니다.");
redis.delete(currentKey);
redis.delete(previousKey);
redis.delete(nextKey);

return;
}
Expand Down