mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-07-27 12:54:31 +08:00
调整队列线程池默认配置
This commit is contained in:
parent
bd8f6b1af3
commit
797cc74714
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user