|
|
@ -15,10 +15,10 @@ spring: |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
driver-class-name: com.mysql.jdbc.Driver |
|
|
|
driver-class-name: com.mysql.jdbc.Driver |
|
|
|
filters: stat |
|
|
|
filters: stat |
|
|
|
maxActive: 10 |
|
|
|
maxActive: 200 |
|
|
|
initialSize: 5 |
|
|
|
initialSize: 20 |
|
|
|
maxWait: 60000 |
|
|
|
maxWait: 60000 |
|
|
|
minIdle: 5 |
|
|
|
minIdle: 20 |
|
|
|
timeBetweenEvictionRunsMillis: 60000 |
|
|
|
timeBetweenEvictionRunsMillis: 60000 |
|
|
|
minEvictableIdleTimeMillis: 300000 |
|
|
|
minEvictableIdleTimeMillis: 300000 |
|
|
|
validationQuery: select 'x' |
|
|
|
validationQuery: select 'x' |
|
|
|