Skip to content

Commit

Permalink
add :: Rank 스케줄러 Logging 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Umjiseung committed Jun 11, 2024
1 parent a7bca57 commit 0ed9b9f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@
import com.mindway.server.v2.domain.rank.service.DeleteRankService;
import com.mindway.server.v2.global.annotation.ServiceWithTransaction;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@ServiceWithTransaction
@RequiredArgsConstructor
@Slf4j
public class DeleteRankServiceImpl implements DeleteRankService {

private final RankRepository rankRepository;

public void execute() {
log.info("===================랭킹 초기화 스케줄러 시작===================");
rankRepository.deleteAll();
log.info("===================랭킹 초기화 스케줄러 시작===================");
}
}

0 comments on commit 0ed9b9f

Please sign in to comment.