Skip to content

Commit

Permalink
fix(StaffUpdater, UserUpdater): 정상동작하지 않는 updater deprecated 표기
Browse files Browse the repository at this point in the history
  • Loading branch information
zbqmgldjfh committed Aug 4, 2024
1 parent 3d34336 commit 15f5e35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
import com.kustacks.kuring.worker.update.staff.dto.StaffScrapResults;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;

@Slf4j
Expand All @@ -31,7 +29,8 @@ public class StaffUpdater {
스크래핑 실패한 학과들을 재시도하기 위해 호출된 경우
values에 StaffDeptInfo 전체 값이 아닌, 매개변수로 들어온 값을 전달한다.
*/
@Scheduled(fixedRate = 30, timeUnit = TimeUnit.DAYS)
//@Scheduled(fixedRate = 30, timeUnit = TimeUnit.DAYS)
@Deprecated
public void update() {
log.info("========== 교직원 업데이트 시작 ==========");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public void questionCountReset() {
// 사용자 제거 로직에 일부 오류가 있는것 같다, 정상 사용자가 제거 되었다.
//@Transactional
//@Scheduled(fixedRate = 30, timeUnit = TimeUnit.DAYS)
@Deprecated
public void update() {
log.info("========== 토큰 유효성 필터링 시작 ==========");

Expand Down

0 comments on commit 15f5e35

Please sign in to comment.