Skip to content

Commit

Permalink
删除console多余的@EnableScheduling (#12386)
Browse files Browse the repository at this point in the history
* 删除console多余的@EnableScheduling

* 删除console多余的@EnableScheduling
  • Loading branch information
KouShenhai authored Jul 29, 2024
1 parent 927fbfd commit 48a0f8b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions console/src/main/java/com/alibaba/nacos/Nacos.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
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.
Expand All @@ -41,7 +40,6 @@
@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) {
Expand Down

0 comments on commit 48a0f8b

Please sign in to comment.