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
@@ -1,6 +1,6 @@
package gg.agit.konect.domain.studytime.scheduler;

import static java.util.concurrent.TimeUnit.MINUTES;
import static java.util.concurrent.TimeUnit.SECONDS;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
Expand All @@ -16,7 +16,7 @@ public class StudyTimeScheduler {

private final StudyTimeSchedulerService studyTimeSchedulerService;

@Scheduled(fixedDelay = 5, timeUnit = MINUTES)
@Scheduled(fixedDelay = 5, timeUnit = SECONDS)
public void updateClubStudyTimeRanking() {
try {
log.info("동아리 공부 시간 랭킹 업데이트 시작");
Expand All @@ -27,7 +27,7 @@ public void updateClubStudyTimeRanking() {
}
}

@Scheduled(fixedDelay = 5, timeUnit = MINUTES)
@Scheduled(fixedDelay = 5, timeUnit = SECONDS)
public void updatePersonalStudyTimeRanking() {
try {
log.info("개인 공부 시간 랭킹 업데이트 시작");
Expand All @@ -38,7 +38,7 @@ public void updatePersonalStudyTimeRanking() {
}
}

@Scheduled(fixedDelay = 5, timeUnit = MINUTES)
@Scheduled(fixedDelay = 5, timeUnit = SECONDS)
public void updateStudentNumberStudyTimeRanking() {
try {
log.info("학번별 공부 시간 랭킹 업데이트 시작");
Expand Down