Spring cloud注解@HystrixCommand正确调用到了方法,但还会是持行fallbackMethod的方法,请问是什么情况下会产生这种情况?
阿神2017-04-18 10:32:42
Did you perform breakpoint debugging when testing this?
If it is breakpoint debugging, it may be like this.
Because you may not have set the timeout, resulting in a timeout error.
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds : 5000
Set this and the following may be effective