84669 Lernen von Personen
152542 Lernen von Personen
20005 Lernen von Personen
5487 Lernen von Personen
7821 Lernen von Personen
359900 Lernen von Personen
3350 Lernen von Personen
180660 Lernen von Personen
48569 Lernen von Personen
18603 Lernen von Personen
40936 Lernen von Personen
1549 Lernen von Personen
1183 Lernen von Personen
32909 Lernen von Personen
Spring cloud注解@HystrixCommand正确调用到了方法,但还会是持行fallbackMethod的方法,请问是什么情况下会产生这种情况?
认证高级PHP讲师
首先检查一下是不是里面抛异常了。
你在测试这个的时候 是不是进行了断点调试了如果是断点调试可能会这样因为你可能没有进行超时设置 导致报了超时错误hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 5000对这个进行设置以下 可能有效
首先检查一下是不是里面抛异常了。
你在测试这个的时候 是不是进行了断点调试了
如果是断点调试可能会这样
因为你可能没有进行超时设置 导致报了超时错误
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 5000
对这个进行设置以下 可能有效