|
@@ -44,6 +44,29 @@ train:
|
|
|
testOnReturn: false
|
|
|
poolPreparedStatements: false
|
|
|
|
|
|
+system:
|
|
|
+ string:
|
|
|
+ url: ${system.datasource.url}
|
|
|
+ username: ${system.datasource.username}
|
|
|
+ password: ${system.datasource.password}
|
|
|
+ driverClassName: ${system.datasource.driver}
|
|
|
+ validationQuery: ${system.datasource.vaildQuery}
|
|
|
+ filters: stat
|
|
|
+ int:
|
|
|
+ initialSize: 5
|
|
|
+ minIdle: 5
|
|
|
+ maxActive: 100
|
|
|
+ maxPoolPreparedStatementPerConnectionSize: -1
|
|
|
+ long:
|
|
|
+ maxWait: 60000
|
|
|
+ timeBetweenEvictionRunsMillis: 60000
|
|
|
+ minEvictableIdleTimeMillis: 300000
|
|
|
+ boolean:
|
|
|
+ testWhileIdle: true
|
|
|
+ testOnBorrow: true
|
|
|
+ testOnReturn: false
|
|
|
+ poolPreparedStatements: false
|
|
|
+
|
|
|
mybatis:
|
|
|
mapper-locations: classpath:/mapper/**/*Mapper.xml
|
|
|
|
|
@@ -105,7 +128,7 @@ spring:
|
|
|
nacos:
|
|
|
discovery:
|
|
|
metadata:
|
|
|
- developer: ray
|
|
|
+ developer: yl
|
|
|
#logging:
|
|
|
# level:
|
|
|
# root: info
|