You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
by the way,问下哈。目前的熔断降级策略是每秒钟的异常比例不能超过阈值。 那么我怎么设置这个单位时间呢?
比如,我设置每分钟或者每30秒的异常的比例不超过阈值,超过则隔离。
我试着修改,com.alibaba.csp.sentinel.node.IntervalProperty的INTERVAL值,但是好像结果并不是我想要的。
能告知一下这个怎么做吗?
谢谢!
Activity
sczyh30 commentedon Sep 5, 2018
Thanks for reporting! This is due to the early return when no success and exception count does not exceed the threshold. We'll fix it later.
aBreaking commentedon Sep 5, 2018
by the way,问下哈。目前的熔断降级策略是每秒钟的异常比例不能超过阈值。
那么我怎么设置这个单位时间呢?
比如,我设置每分钟或者每30秒的异常的比例不超过阈值,超过则隔离。
我试着修改,com.alibaba.csp.sentinel.node.IntervalProperty的INTERVAL值,但是好像结果并不是我想要的。
能告知一下这个怎么做吗?
谢谢!
sczyh30 commentedon Sep 5, 2018
Hi, this is not supported well in current version. You can modify the
INTERVALbut it will affect the global counter.Fixes #128: Fix early return when exception ratio is 100%
Fixes alibaba#128: Fix early return when exception ratio is 100%
Fixes alibaba#128: Fix early return when exception ratio is 100%