-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: new slot chain #264
Conversation
Otherwise, could you please resolve the conflicts(rebase the newest code from alibaba/sentinel-golang) |
810eeba
to
3138dd6
Compare
Codecov Report
@@ Coverage Diff @@
## master #264 +/- ##
==========================================
+ Coverage 51.09% 51.23% +0.14%
==========================================
Files 79 79
Lines 4026 4048 +22
==========================================
+ Hits 2057 2074 +17
- Misses 1679 1684 +5
Partials 290 290
Continue to review full report at Codecov.
|
ab86b8d
to
f474294
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your nice work!
Describe what this PR does / why we need it
Sentinel 包针对某个 Resource 无法确知其使用了那个组件,在运行时会针对某个 Resource 的 EntryContext 依次执行所有的组件的 Rule。本pr的目的就是减少下面函数 SlotChain.Entry() 中执行 RuleCheckSlot.Check() 执行次数
Describe how you did it
最后优化的效果的集合代码如下: