mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-26 12:49:28 +08:00
调整队列线程池默认配置
This commit is contained in:
@@ -34,8 +34,8 @@ spring:
|
|||||||
task:
|
task:
|
||||||
execution:
|
execution:
|
||||||
pool:
|
pool:
|
||||||
max-size: 16 #最大线程数量
|
max-size: 8 #最大线程数量
|
||||||
core-size: 8 #初始化线程数量
|
core-size: 4 #初始化线程数量
|
||||||
queue-capacity: 1000 #队列最大长度
|
queue-capacity: 1000 #队列最大长度
|
||||||
keep-alive: 60s #线程终止前允许保存的最大时间
|
keep-alive: 60s #线程终止前允许保存的最大时间
|
||||||
shutdown:
|
shutdown:
|
||||||
|
|||||||
Reference in New Issue
Block a user