fix: 修复异步方法启动的问题

This commit is contained in:
Captain.B 2020-12-03 14:08:04 +08:00
parent ade3fe2043
commit bf13f09322
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import org.springframework.core.task.AsyncTaskExecutor;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
@EnableAsync
@EnableAsync(proxyTargetClass = true)
@Configuration
public class AsyncConfig {