diff --git a/doochul/src/main/java/org/doochul/config/AppConfig.java b/doochul/src/main/java/org/doochul/config/AppConfig.java index 7476aaa..82cab1e 100644 --- a/doochul/src/main/java/org/doochul/config/AppConfig.java +++ b/doochul/src/main/java/org/doochul/config/AppConfig.java @@ -3,8 +3,6 @@ import java.time.Clock; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import org.springframework.scheduling.TaskScheduler; -import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; @Configuration @@ -15,13 +13,6 @@ public Clock clock() { return Clock.systemDefaultZone(); } - @Bean - public TaskScheduler taskScheduler() { - ThreadPoolTaskScheduler taskScheduler = new ThreadPoolTaskScheduler(); - taskScheduler.setPoolSize(10); - return taskScheduler; - } - @Bean public ThreadPoolTaskScheduler taskScheduler() { ThreadPoolTaskScheduler scheduler = new ThreadPoolTaskScheduler();