fix:定时任务线程数调整
This commit is contained in:
@@ -73,8 +73,8 @@ public class QuartzConfig {
|
||||
@Bean(name = "wmshandlerPool")
|
||||
public ThreadPoolExecutor wmshandlerPool() {
|
||||
return new ThreadPoolExecutor(
|
||||
10, // corePoolSize
|
||||
20, // maximumPoolSize
|
||||
5, // corePoolSize
|
||||
10, // maximumPoolSize
|
||||
60, // keepAliveTime
|
||||
TimeUnit.SECONDS,
|
||||
new LinkedBlockingQueue<>(1000),
|
||||
|
||||
Reference in New Issue
Block a user