-
Notifications
You must be signed in to change notification settings - Fork 934
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
Implement meta cache #2371
Implement meta cache #2371
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2371 +/- ##
==========================================
- Coverage 44.27% 44.09% -0.18%
==========================================
Files 304 305 +1
Lines 18528 18604 +76
==========================================
+ Hits 8203 8204 +1
- Misses 9467 9541 +74
- Partials 858 859 +1
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
LGTM.
registry/servicediscovery/service_instances_changed_listener_impl.go
Outdated
Show resolved
Hide resolved
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.
Great work, Thanks @FinalT! A few comments for you:
} | ||
|
||
// destroy stops the cache expiration routine, clears the cache and removes the cache file. | ||
func (cm *CacheManager) destroy() { |
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.
这块逻辑看着没有地方使用,是否需要?
@justxuewei please rerun ci |
registry/servicediscovery/service_instances_changed_listener_impl.go
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed!
|
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.
Lgtm, thanks!
No description provided.