Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 hystrix 中,我使用execution.isolation.thread.timeoutInMilliseconds此配置来限制特定时间的响应,否则使用回退方法,但此设置也在执行后端调用的请求。是否也可以停止它?
execution.isolation.thread.timeoutInMilliseconds
不可能“杀死”正在执行的线程,您可以实现某种中断逻辑,但在大多数情况下不建议这样做。如果您发布一些代码,它将更容易回答......