-
Notifications
You must be signed in to change notification settings - Fork 423
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
polish the method LoadRules() in rule_manager.go #71
Labels
kind/enhancement
Category issues or PRs related to enhancement
Comments
@louyuting @sczyh30 |
wuxuer
added a commit
to wuxuer/sentinel-golang
that referenced
this issue
Feb 28, 2020
Remove the channel ruleChan which seems to have no obvious meaning. LoadRules() call onRuleUpdate() to load system rules. Add ClearRules() to clear all the previous rules. Signed-off-by: xu wu <wuxu1103@163.com>
wuxuer
added a commit
to wuxuer/sentinel-golang
that referenced
this issue
Mar 12, 2020
Remove the channel ruleChan which seems to have no obvious meaning. LoadRules() call onRuleUpdate() to load system rules. Add ClearRules() to clear all the previous rules. Signed-off-by: xu wu <wuxu1103@163.com>
wuxuer
added a commit
to wuxuer/sentinel-golang
that referenced
this issue
Mar 12, 2020
Remove the channel ruleChan which seems to have no obvious meaning. LoadRules() call onRuleUpdate() to load system rules. Add ClearRules() to clear all the previous rules. Signed-off-by: xu wu <wuxu1103@163.com>
wuxuer
added a commit
to wuxuer/sentinel-golang
that referenced
this issue
Mar 17, 2020
Remove the channel ruleChan which seems to have no obvious meaning. LoadRules() call onRuleUpdate() to load system rules. Add ClearRules() to clear all the previous rules. Signed-off-by: xu wu <wuxu1103@163.com>
wuxuer
added a commit
to wuxuer/sentinel-golang
that referenced
this issue
Mar 17, 2020
Remove the channel ruleChan which seems to have no obvious meaning. LoadRules() call onRuleUpdate() to load system rules. Add ClearRules() to clear all the previous rules. Signed-off-by: xu wu <wuxu1103@163.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
Type: feature request
The implementation of LoadRules() in rule_manager.go might be not elegant, and the channel ruleChan seems to have no obvious meaning.
Describe what feature you want
Call onRuleUpdate() to load rules in LoadRules().
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: