-
Notifications
You must be signed in to change notification settings - Fork 270
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
feat(base): Add automatic media cache cleanups to MediaService #4603
Conversation
Signed-off-by: Kévin Commaille <[email protected]>
…y (de)serializing them Since it's a common occurrence, it will reduce duplication. Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
We want to be able to send it to a new task, so the easiest way is to be able to clone it. Signed-off-by: Kévin Commaille <[email protected]>
…nt Clone We want to be able to send the store to a new task, so the easiest way is to be able to clone it. Signed-off-by: Kévin Commaille <[email protected]>
For parity with tokio's JoinHandle. Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4603 +/- ##
==========================================
+ Coverage 85.70% 85.72% +0.01%
==========================================
Files 292 292
Lines 33406 33487 +81
==========================================
+ Hits 28632 28708 +76
- Misses 4774 4779 +5 ☔ View full report in Codecov by Sentry. |
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.
Well, I had a couple of feedback but they were all addressed by the original code. Nothing to say other than: well done! I'm excited to see this!
Can you please resolve the conflict to unblock the merge please? |
Done. |
Signed-off-by: Kévin Commaille <[email protected]>
Thanks, you rocks 🤘 |
Follow up to #4571, this time we offer to run periodic automatic cleanups. This requires a few more bounds on the types to be able to send them into a new task.
This can be reviewed commit by commit.