Spring Cloud筆記2

1.在使用Feign的時候第一次請求總是time-out的問題 Feign整合了hystrix, 由於我們第一次請求的時候超過了1秒,所以纔會報異常 解決方案:  解決第一次請求報超時異常的方案: #hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 5000  或者:  hystrix.command
相關文章
相關標籤/搜索