Skip to content

Commit c4ce218

Browse files
authored
refactor: 불필요한 로그 삭제 (#543)
1 parent cfe71a2 commit c4ce218

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/com/example/solidconnection/community/post/service/UpdateViewCountService.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ public class UpdateViewCountService {
2323
@Transactional
2424
@Async
2525
public void updateViewCount(String key) {
26-
log.info("updateViewCount Processing key: {} in thread: {}", key, Thread.currentThread().getName());
2726
Long postId = redisUtils.getPostIdFromPostViewCountRedisKey(key);
2827
Post post = postRepository.getById(postId);
2928
postRepository.increaseViewCount(postId, redisService.getAndDelete(key));
30-
log.info("updateViewCount Updated post id: {} with view count from key: {}", postId, key);
3129
}
3230
}

0 commit comments

Comments
 (0)