Make the value of RT_MAX_EXCEED_N in DegradeRule configurable #673
Labels
area/circuit-breaking
Issues or PRs related to circuit breaking
good first issue
Good for newcomers
kind/enhancement
Category issues or prs related to enhancement.
Issue Description
In the process of degrade, when resource enters a quasi-degraded state, the max count (the value of
RT_MAX_EXCEED_N
inDegradeRule
class) which statistics the next coming requests passed now is fixed value: 5.Users in community are wondering that why the value is fixed.
Describe what happened (or what feature you want)
Users may expect that the
RT_MAX_EXCEED_N
can be configured in different scenes.How about adding a property like
csp.sentinel.degrade.rt.max.exceed.count
?and does it need to be modified dynamically?
Anything else we need to know?
Related to #154
The text was updated successfully, but these errors were encountered: