Skip to content

Commit e41b6e2

Browse files
committed
feature/blog-scheduler
1 parent bad4b2a commit e41b6e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/bloggios/blog/BlogProviderApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
66
import org.springframework.cloud.openfeign.EnableFeignClients;
77
import org.springframework.scheduling.annotation.EnableAsync;
8+
import org.springframework.scheduling.annotation.EnableScheduling;
89

910
@SpringBootApplication(scanBasePackages = {
1011
"com.bloggios.blog",
@@ -14,6 +15,7 @@
1415
@EnableEurekaClient
1516
@EnableAsync
1617
@EnableFeignClients
18+
@EnableScheduling
1719
public class BlogProviderApplication {
1820

1921
public static void main(String[] args) {

0 commit comments

Comments
 (0)