fix:定时任务线程数调整

This commit is contained in:
zhengxuming
2025-07-17 14:58:44 +08:00
parent e58fefcab9
commit 320eaadbc8

View File

@@ -73,8 +73,8 @@ public class QuartzConfig {
@Bean(name = "wmshandlerPool") @Bean(name = "wmshandlerPool")
public ThreadPoolExecutor wmshandlerPool() { public ThreadPoolExecutor wmshandlerPool() {
return new ThreadPoolExecutor( return new ThreadPoolExecutor(
10, // corePoolSize 5, // corePoolSize
20, // maximumPoolSize 10, // maximumPoolSize
60, // keepAliveTime 60, // keepAliveTime
TimeUnit.SECONDS, TimeUnit.SECONDS,
new LinkedBlockingQueue<>(1000), new LinkedBlockingQueue<>(1000),