File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
src/main/java/com/example/solidconnection/scheduler Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 66import com .example .solidconnection .util .RedisUtils ;
77import java .util .List ;
88import lombok .RequiredArgsConstructor ;
9- import lombok .extern .slf4j .Slf4j ;
109import org .springframework .scheduling .annotation .Async ;
1110import org .springframework .scheduling .annotation .EnableAsync ;
1211import org .springframework .scheduling .annotation .EnableScheduling ;
1817@ Component
1918@ EnableScheduling
2019@ EnableAsync
21- @ Slf4j
2220public 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 (() -> {
You can’t perform that action at this time.
0 commit comments