Feign請求報請求超時


Feign的底層基於Rabbion實現的,一般情況下直接導入feign的依賴,然后調用feignClient去發送請求,報請求超時。
application.yml

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM