Commit b025430a by Nepxion

修改注释

parent 7d8d65a3
...@@ -22,7 +22,7 @@ public class GatewayStrategyContextHolder { ...@@ -22,7 +22,7 @@ public class GatewayStrategyContextHolder {
public ServerWebExchange getExchange() { public ServerWebExchange getExchange() {
Boolean hystrixThreadlocalSupported = environment.getProperty(StrategyConstant.SPRING_APPLICATION_STRATEGY_HYSTRIX_THREADLOCAL_SUPPORTED, Boolean.class, Boolean.FALSE); Boolean hystrixThreadlocalSupported = environment.getProperty(StrategyConstant.SPRING_APPLICATION_STRATEGY_HYSTRIX_THREADLOCAL_SUPPORTED, Boolean.class, Boolean.FALSE);
if (hystrixThreadlocalSupported) { if (hystrixThreadlocalSupported) {
// Spring Cloud Gateway网关端使用Hystrix做线程模式的服务隔离时,实现服务灰度路由的功能 // 待实现:Spring Cloud Gateway网关端使用Hystrix做线程模式的服务隔离时,实现服务灰度路由的功能
return GatewayStrategyContext.getCurrentContext().getExchange(); return GatewayStrategyContext.getCurrentContext().getExchange();
} else { } else {
return GatewayStrategyContext.getCurrentContext().getExchange(); return GatewayStrategyContext.getCurrentContext().getExchange();
......
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