Commit 68ad25f0 by huangfusuper

恢复修改网关超时时间

parent e2a76529
...@@ -39,12 +39,12 @@ zuul: ...@@ -39,12 +39,12 @@ zuul:
# disable: true # disable: true
ribbon: ribbon:
ReadTimeout: 50 # ReadTimeout: 60000 #
ConnectTimeout: 50 # [ribbon超时时间]大于[熔断超时],那么会先走熔断,相当于你配的ribbon超时就不生效了 ribbon和hystrix是 ConnectTimeout: 60000 # [ribbon超时时间]大于[熔断超时],那么会先走熔断,相当于你配的ribbon超时就不生效了 ribbon和hystrix是
hystrix: hystrix:
command: command:
default: default:
execution: execution:
isolation: isolation:
thread: thread:
timeoutInMilliseconds: 50 # 熔断超时 ribbon和hystrix是同时生效的,哪个值小哪个生效 timeoutInMilliseconds: 240000 # 熔断超时 ribbon和hystrix是同时生效的,哪个值小哪个生效
\ No newline at end of file \ 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