From 48a0f8b0fb5cc7e76252ce741970590e6afd7242 Mon Sep 17 00:00:00 2001 From: laokou <2413176044@qq.com> Date: Mon, 29 Jul 2024 10:46:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4console=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84@EnableScheduling=20(#12386)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 删除console多余的@EnableScheduling * 删除console多余的@EnableScheduling --- console/src/main/java/com/alibaba/nacos/Nacos.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/console/src/main/java/com/alibaba/nacos/Nacos.java b/console/src/main/java/com/alibaba/nacos/Nacos.java index f0d222e60..5d0789dc2 100644 --- a/console/src/main/java/com/alibaba/nacos/Nacos.java +++ b/console/src/main/java/com/alibaba/nacos/Nacos.java @@ -25,7 +25,6 @@ import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan.Filter; import org.springframework.context.annotation.FilterType; -import org.springframework.scheduling.annotation.EnableScheduling; /** * Nacos starter. @@ -41,7 +40,6 @@ import org.springframework.scheduling.annotation.EnableScheduling; @Filter(type = FilterType.CUSTOM, classes = {TypeExcludeFilter.class}), @Filter(type = FilterType.CUSTOM, classes = {AutoConfigurationExcludeFilter.class})}) @ServletComponentScan -@EnableScheduling public class Nacos { public static void main(String[] args) {