-
Notifications
You must be signed in to change notification settings - Fork 16
Added support for async cache loading in EntityCache and EdsCacheClient #267
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
Conversation
| this.edsClient = edsClient; | ||
| fqnToServiceEntityCache = | ||
| CacheBuilder.newBuilder() | ||
| .maximumSize(10000) |
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.
Ability to configure these caches is an existing problem. Will address them in a different PR.
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## main #267 +/- ##
============================================
+ Coverage 80.20% 80.26% +0.05%
- Complexity 1162 1166 +4
============================================
Files 102 102
Lines 4512 4535 +23
Branches 421 421
============================================
+ Hits 3619 3640 +21
- Misses 695 696 +1
- Partials 198 199 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
kotharironak
left a comment
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
| backendIdAttrsToEntityCache = | ||
| CacheBuilder.newBuilder() | ||
| .maximumSize(10000) | ||
| .expireAfterWrite(5, TimeUnit.MINUTES) |
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.
Are we missing refreshAfterWrite here ?
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.
Yes. Fixed it.
Description
Checklist: