Commit f9266082 by Nepxion

服务端使用Hystrix做线程模式的服务隔离时,实现服务灰度路由的功能

parent e72521aa
......@@ -30,7 +30,7 @@ import com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisher;
import com.netflix.hystrix.strategy.properties.HystrixPropertiesStrategy;
import com.netflix.hystrix.strategy.properties.HystrixProperty;
// 使用线程隔离模式时,无法获取threadLocal中信息,自定义并发策略解决
// 使用线程隔离模式时,无法获取ThreadLocal中信息,自定义并发策略解决
public class HystrixContextConcurrencyStrategy extends HystrixConcurrencyStrategy {
@Autowired
private CallableWrapper wrapper;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment