Skip to content

Commit

Permalink
chore: 배치 로그 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 committed Nov 10, 2024
1 parent 034e1ce commit 1bc1578
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public void updateRetrospectStatusToDone() {

List<Retrospect> retrospects = retrospectRepository.findAllByDeadlineBeforeAndRetrospectStatus(
now, RetrospectStatus.PROCEEDING);

log.info("batch: size of retrospects: {}", retrospects.size());

Map<Long, Retrospect> retrospectMap = retrospects.stream()
.collect(Collectors.toMap(Retrospect::getId, retrospect -> retrospect));

Expand Down

0 comments on commit 1bc1578

Please sign in to comment.