wannshan
wannshan
dubbo现在不是支持实例级别熔断吗?mock="return null"
@raduihys 不反对。不过熔断结果就是服务降级。
Change the line int weight = invoker.getUrl().getMethodParameter(invocation.getMethodName(), Constants.WEIGHT_KEY, Constants.DEFAULT_WEIGHT); // Weight TO int weight = getWeight(invoker, invocation); // have warm up value
may be taotalWeightWithWarmUp will be better ,after all not after but warming....
oh ,this work have bean done in apache/incubator-dubbo my code is old dubbo,my mistake.