dev配置调大连接池线程池数目

This commit is contained in:
wangliwen 2022-07-06 10:22:55 +08:00
parent 6eb4596a66
commit 11829cfc75
1 changed files with 7 additions and 4 deletions

View File

@ -26,10 +26,13 @@ spring:
# url: jdbc:postgresql://192.168.10.10:5432/postgres
# username: postgres
# password: 123456
initial-size: 10
max-active: 100
min-idle: 10
max-wait: 10
initial-size: 50
max-active: 1000
min-idle: 100
max-wait: 100
removeAbandoned: true
removeAbandonedTimeout: 300
logAbandoned: false
pool-prepared-statements: true
max-pool-prepared-statement-per-connection-size: 20
time-between-eviction-runs-millis: 60000