Skip to content
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

chore(media): use the same media method when caching a thumbnail as the FFI #4160

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

bnjbvr
Copy link
Member

@bnjbvr bnjbvr commented Oct 22, 2024

The FFI will request a scaled version of the thumbnail by default; let's use the same cache key when caching the thumbnail after an upload.

Thanks @zecakeh for flagging the issue.

Part of #1732.

…he default one used in the FFI

The FFI will request a scaled version of the thumbnail by default; let's
use the same cache key when caching the thumbnail after an upload.

Thanks @zecakeh for flagging the issue.
@bnjbvr bnjbvr requested a review from a team as a code owner October 22, 2024 13:32
@bnjbvr bnjbvr requested review from stefanceriu and removed request for a team October 22, 2024 13:32
Copy link
Member

@Hywan Hywan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

codecov bot commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.83%. Comparing base (65bb373) to head (78d5e35).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4160      +/-   ##
==========================================
- Coverage   84.85%   84.83%   -0.03%     
==========================================
  Files         269      269              
  Lines       28862    28862              
==========================================
- Hits        24491    24485       -6     
- Misses       4371     4377       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bnjbvr bnjbvr merged commit 6196eba into main Oct 22, 2024
40 checks passed
@bnjbvr bnjbvr deleted the bnjbvr/cache-thumbnail-with-scaleq branch October 22, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants