feat: 升级SpringBoot和SpringCloud版本
This commit is contained in:
@@ -5,9 +5,9 @@ zlt.datasource.username=root
|
||||
zlt.datasource.password=1q2w3e4r
|
||||
|
||||
##### redis配置
|
||||
spring.redis.host=192.168.28.130
|
||||
spring.redis.port=6379
|
||||
spring.redis.timeout=5000
|
||||
spring.data.redis.host=192.168.28.130
|
||||
spring.data.redis.port=6379
|
||||
spring.data.redis.timeout=5000
|
||||
|
||||
##### elasticsearch配置
|
||||
zlt.elasticsearch.uris=192.168.28.130:9200
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
########################## 统一变量配置 ##########################
|
||||
##### 数据库配置
|
||||
zlt.datasource.ip=192.168.28.131
|
||||
zlt.datasource.ip=192.168.28.130
|
||||
zlt.datasource.username=root
|
||||
zlt.datasource.password=1q2w3e4r
|
||||
|
||||
##### redis配置
|
||||
spring.redis.sentinel.master=mymaster
|
||||
spring.redis.sentinel.nodes=172.17.0.1
|
||||
spring.redis.password=
|
||||
spring.data.redis.sentinel.master=mymaster
|
||||
spring.data.redis.sentinel.nodes=172.17.0.1
|
||||
spring.data.redis.password=
|
||||
|
||||
##### elasticsearch配置
|
||||
zlt.elasticsearch.uris=192.168.28.130:9200
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
########################## 统一变量配置 ##########################
|
||||
##### 数据库配置
|
||||
zlt.datasource.ip=192.168.28.131
|
||||
zlt.datasource.ip=192.168.28.130
|
||||
zlt.datasource.username=root
|
||||
zlt.datasource.password=1q2w3e4r
|
||||
|
||||
##### redis配置
|
||||
spring.redis.host=192.168.28.130
|
||||
spring.redis.port=6379
|
||||
spring.redis.timeout=5000
|
||||
spring.data.redis.host=192.168.28.130
|
||||
spring.data.redis.port=6379
|
||||
spring.data.redis.timeout=5000
|
||||
|
||||
##### elasticsearch配置
|
||||
zlt.elasticsearch.uris=192.168.28.130:9200
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
########################## application级别通用配置 ##########################
|
||||
spring.main.allow-circular-references=true
|
||||
|
||||
##### loadbalancer配置
|
||||
## 切换实例的重试
|
||||
spring.cloud.loadbalancer.retry.enabled=false
|
||||
@@ -77,13 +79,13 @@ mybatis-plus.configuration.cache-enabled=false
|
||||
|
||||
##### redis配置
|
||||
# 连接池最大连接数(使用负值表示没有限制)
|
||||
spring.redis.lettuce.pool.max-active=8
|
||||
spring.data.redis.lettuce.pool.max-active=8
|
||||
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
spring.redis.lettuce.pool.max-wait=-1
|
||||
spring.data.redis.lettuce.pool.max-wait=-1
|
||||
# 连接池中的最大空闲连接
|
||||
spring.redis.lettuce.pool.max-idle=8
|
||||
spring.data.redis.lettuce.pool.max-idle=8
|
||||
# 连接池中的最小空闲连接
|
||||
spring.redis.lettuce.pool.min-idle=0
|
||||
spring.data.redis.lettuce.pool.min-idle=0
|
||||
|
||||
##### logging配置
|
||||
logging.level.com.alibaba.nacos.client.naming=warn
|
||||
Reference in New Issue
Block a user