From 6524bbc098af0745fd1b7b62830ac4b0fb2d6540 Mon Sep 17 00:00:00 2001 From: yuseonjun Date: Sat, 9 Mar 2024 17:59:14 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=A4=91=EB=B3=B5=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doochul/src/main/java/org/doochul/config/AppConfig.java | 9 --------- 1 file changed, 9 deletions(-) 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();