不应该使用超时
为什么不应该使用 hystrix 超时?
因为 hystrix 超时之后,hystrix 不会取消这个 client 的调用,client 会仍然在等待响应,
用 context deadline
Context deadlines are preferred to hystrix timouts because they are not propageted and not cancellable
为什么不应该使用 hystrix 超时?
因为 hystrix 超时之后,hystrix 不会取消这个 client 的调用,client 会仍然在等待响应,
用 context deadline
Context deadlines are preferred to hystrix timouts because they are not propageted and not cancellable