修改代码问题
This commit is contained in:
@ -4,6 +4,8 @@ server:
|
||||
context-path: /
|
||||
|
||||
spring:
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
cloud:
|
||||
feign:
|
||||
client:
|
||||
@ -13,7 +15,7 @@ spring:
|
||||
writeTimeout: 35000
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 127.0.0.1:8848 #192.168.110.109:8848
|
||||
server-addr: 192.168.110.231:8848
|
||||
aop:
|
||||
auto: true #开启spring的aop配置
|
||||
proxy-target-class: true
|
||||
@ -80,7 +82,7 @@ spring:
|
||||
redis:
|
||||
sentinel:
|
||||
master: mymaster
|
||||
nodes: 192.168.110.231:26379 #10.60.161.59:26379, 10.60.161.59:26380, 10.60.161.59:26381
|
||||
nodes: 192.168.110.231:26379
|
||||
password: pass
|
||||
database:
|
||||
sharding: 1
|
||||
@ -149,6 +151,8 @@ hystrix:
|
||||
forceClosed: true
|
||||
|
||||
ribbon:
|
||||
eureka:
|
||||
enabled: false
|
||||
ReadTimeout: 200000 #请求处理的超时时间
|
||||
ConnectTimeout: 200000 #请求连接超时时间
|
||||
MaxAutoRetries: 1 #对当前实例的重试次数
|
||||
|
Reference in New Issue
Block a user