-
Notifications
You must be signed in to change notification settings - Fork 269
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
Memoize the Oidc::account_management_url()
method
#4663
Conversation
20b2558
to
7f78661
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4663 +/- ##
=======================================
Coverage 85.78% 85.79%
=======================================
Files 292 293 +1
Lines 33729 33769 +40
=======================================
+ Hits 28936 28973 +37
- Misses 4793 4796 +3 ☔ View full report in Codecov by Sentry. |
7f78661
to
cef565c
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.
Makes sense, thanks!
|
||
/// Force the expiry of the given item, if it is present in the cache. | ||
/// | ||
/// This doesn't remove the item, it just marks it as expired. |
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.
Why not remove it immediately? If it's expired, is there any point in keeping it in the mapping?
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.
That method is for testing purposes mostly, perhaps I should make itcfg(test)
.
It expires the item and then we check that a get()
correctly removes it.
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.
Fair!
d114fee
to
f59bdc4
Compare
f59bdc4
to
be6f567
Compare
This will hopefully fix #4460.