摘要:
1、启动类增加@EnableAsync注解 2、yml增加配置 spring: task: execution: pool: max-size: 8 core-size: 8 keep-alive: 60 queue-capacity: 1000 thread-name-prefix: Asnyc- 阅读全文
摘要:
1、启动类增加@EnableAsync注解 2、yml增加配置 spring: task: execution: pool: max-size: 8 core-size: 8 keep-alive: 60 queue-capacity: 1000 thread-name-prefix: Asnyc- 阅读全文