dev配置调大连接池线程池数目
This commit is contained in:
parent
6eb4596a66
commit
11829cfc75
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue