rev:现场测试优化
This commit is contained in:
@@ -15,11 +15,11 @@ spring:
|
||||
password: ${DB_PWD:123456}
|
||||
# password: ${DB_PWD:p@ssw0rd}
|
||||
# 初始连接数
|
||||
initial-size: 5
|
||||
initial-size: 20
|
||||
# 最小连接数
|
||||
min-idle: 15
|
||||
min-idle: 20
|
||||
# 最大连接数
|
||||
max-active: 30
|
||||
max-active: 200
|
||||
# 超时时间(以秒数为单位)
|
||||
remove-abandoned-timeout: 180
|
||||
# 获取连接超时时间
|
||||
|
||||
@@ -70,7 +70,7 @@ spring:
|
||||
tryInterrupt: true
|
||||
allowCoreThreadTimeOut: true # 是否允许核心线程池超时,默认false
|
||||
waitForTasksToCompleteOnShutdown: true # 参考spring线程池设计,优雅关闭线程池,默认true
|
||||
awaitTerminationSeconds: 5 # 优雅关闭线程池时,阻塞等待线程池中任务执行时间,默认3,单位(s)
|
||||
awaitTerminationSeconds: 15 # 优雅关闭线程池时,阻塞等待线程池中任务执行时间,默认3,单位(s)
|
||||
preStartAllCoreThreads: false # 是否预热所有核心线程,默认false
|
||||
runTimeout: 10000 # 任务执行超时阈值,单位(ms),默认0(不统计)
|
||||
queueTimeout: 1000 # 任务在队列等待超时阈值,单位(ms),默认0(不统计)
|
||||
|
||||
Reference in New Issue
Block a user