Skip to content

Commit eaaf3b9

Browse files
authored
refactor: 불필요한 로그 삭제 (#547)
* refactor: 불필요한 로그 삭제
1 parent be86fc5 commit eaaf3b9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/com/example/solidconnection/scheduler/UpdateViewCountScheduler.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import com.example.solidconnection.util.RedisUtils;
77
import java.util.List;
88
import lombok.RequiredArgsConstructor;
9-
import lombok.extern.slf4j.Slf4j;
109
import org.springframework.scheduling.annotation.Async;
1110
import org.springframework.scheduling.annotation.EnableAsync;
1211
import org.springframework.scheduling.annotation.EnableScheduling;
@@ -18,7 +17,6 @@
1817
@Component
1918
@EnableScheduling
2019
@EnableAsync
21-
@Slf4j
2220
public class UpdateViewCountScheduler {
2321

2422
private final RedisUtils redisUtils;
@@ -29,7 +27,6 @@ public class UpdateViewCountScheduler {
2927
@Scheduled(fixedDelayString = "${view.count.scheduling.delay}")
3028
public void updateViewCount() {
3129

32-
log.info("updateViewCount thread: {}", Thread.currentThread().getName());
3330
List<String> itemViewCountKeys = redisUtils.getKeysOrderByExpiration(VIEW_COUNT_KEY_PATTERN.getValue());
3431

3532
itemViewCountKeys.forEach(key -> asyncExecutor.submit(() -> {

0 commit comments

Comments
 (0)