Feign的底层基于Rabbion实现的,一般情况下直接导入feign的依赖,然后调用feignClient去发送请求,报请求超时。
application.yml

#hystrix的超时时间
hystrix:
  command:
    default:
      execution:
        timeout:
          enabled: true
        isolation:
          thread:
            timeoutInMilliseconds: 9000
#ribbon的超时时间
ribbon:
  ReadTimeout: 3000
  ConnectTimeout: 3000

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
  • 2021-09-16
  • 2021-08-07
猜你喜欢
  • 2021-09-21
  • 2022-12-23
  • 2021-09-11
  • 2021-09-11
  • 2021-08-07
  • 2022-12-23
相关资源
相似解决方案