diff --git a/techhero-gateway-test.yml b/techhero-gateway-test.yml index 0159af3..f89af82 100644 --- a/techhero-gateway-test.yml +++ b/techhero-gateway-test.yml @@ -15,7 +15,11 @@ hystrix: isolation: thread: timeoutInMilliseconds: 60000 #设置API网关中路由转发请求的HystrixCommand执行超时时间 - +ribbon: + ReadTimeout: 300000 + ConnectTimeout: 300000 + MaxAutoRetries: 1 + MaxAutoRetriesNextServer: 1 host: connect-timeout-millis: 20000