-
Notifications
You must be signed in to change notification settings - Fork 295
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
Configuration Cleanup #1394
Configuration Cleanup #1394
Conversation
@KunJeongPark would love your thoughts on these changes to make sure I didn't miss anything! I went through several tests with triggering a memory warning, but would love a second set of eyes if you're able to pull down this branch and run through some tests. :teamwork: |
I think Sammy also had concerns whether @mainactor annotations were necessary in two places. |
I addressed those in the original PR: #1385 (comment) |
Both
You'll need to ensure you're letting the cache clear, it's valid for 5 minutes, but first fetch will be |
I'm fine with it, but I don't think they're same and we should keep an eye on latency, although I don't think it will be noticeable.
I did try it, clearing cache and I got same result. I made note on ticket about low memory setting and NSCache. As I mentioned in the ticket, I just wanted to make sure that there were no inherent problems elsewhere without the @mainactor annotation, if that annotation is masking something, if that makes sense. Not holding this one back. |
Thank you for the work! Tests look good! 🎉 |
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.
🚀
Summary of changes
ConfigurationCallbackStorage
Crash #1385Checklist
[ ] Added a changelog entryAuthors