Commit 06e23bd2 by tc

加配置观察

parent a8af2672
...@@ -18,7 +18,9 @@ spring: ...@@ -18,7 +18,9 @@ spring:
minIdle: 5 minIdle: 5
maxActive: 50 maxActive: 50
maxWait: 60000 maxWait: 60000
removeAbandoned: true
removeAbandonedTimeout: 180
logAbandoned: true
timeBetweenEvictionRunsMillis: 3000 timeBetweenEvictionRunsMillis: 3000
minEvictableIdleTimeMillis: 3600000 minEvictableIdleTimeMillis: 3600000
validationQuery: SELECT 'x' FROM DUAL validationQuery: SELECT 'x' FROM DUAL
...@@ -26,6 +28,7 @@ spring: ...@@ -26,6 +28,7 @@ spring:
testOnBorrow: false testOnBorrow: false
testOnReturn: false testOnReturn: false
poolPreparedStatements: true poolPreparedStatements: true
maxPoolPreparedStatementPerConnectionSize: 20 maxPoolPreparedStatementPerConnectionSize: 20
connectionProperties: config.decrypt=true connectionProperties: config.decrypt=true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment