Commit e2a76529 by huangfusuper

修改网关超时时间

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