Commit f35ee7f4 by huangfusuper

修改插件rpc的错误

parent 58bc92bc
...@@ -29,9 +29,6 @@ spring: ...@@ -29,9 +29,6 @@ spring:
url: jdbc:mysql://10.0.120.30:3307/myth-registry?Unicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false url: jdbc:mysql://10.0.120.30:3307/myth-registry?Unicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
username: root username: root
zuul: zuul:
host:
connect-timeout-millis: 3
socket-timeout-millis: 3
route: route:
refreshCron: 0/10 * * * * ? refreshCron: 0/10 * * * * ?
...@@ -40,3 +37,14 @@ zuul: ...@@ -40,3 +37,14 @@ zuul:
# sendErrorFilter: # sendErrorFilter:
# error: # error:
# disable: true # disable: true
ribbon:
ReadTimeout: 60000 #
ConnectTimeout: 60000 # [ribbon超时时间]大于[熔断超时],那么会先走熔断,相当于你配的ribbon超时就不生效了 ribbon和hystrix是
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 240000 # 熔断超时 ribbon和hystrix是同时生效的,哪个值小哪个生效
\ No newline at end of file
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