Type:bug report
When use degraderule,add exception rate equals 1.0,it's invalid。
And when I view the source code,it's:
**double curCount = errCount;
if (strategy == DEGRADE_GRADE_EXCEPTION_RATIO) {
// Use errorRatio
curCount = errCount * 1.0d / totalCount;
}
if (curCount > threshold) {
transformToOpen(curCount);
}
}**
so it will not greater than 1,and the value [0.0-1.0] make any means?
2、use jdk1.8,sentinel 1.8.0,windows10
暂无答案!
目前还没有任何答案,快来回答吧!