微服务zuul超时调整

hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 40000
  timeout:
    enabled: true
    timeoutInMilliseconds: 60000

  

ribbon:
  ReadTimeout: 10000
  SocketTimeout: 60000
  ConnectTimeout: 10000
  MaxAutoRetries: 0
  MaxAutoRetriesNextServer: 1

  

zuul:
  host:
    socket-timeout-millis: 60000
    connect-timeout-millis: 30000

  

posted @ 2020-02-14 13:16  青竹玉简  阅读(990)  评论(1编辑  收藏  举报