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

fix: don't persist previews used during blurhash generation #46020

Closed
wants to merge 4 commits into from

Conversation

st3iny
Copy link
Member

@st3iny st3iny commented Jun 20, 2024

Summary

Generating and saving a preview file for every file is a bit too expensive on large instances. This PR will discard generated previews after generating a blurhash.

Checklist

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
@csware
Copy link
Contributor

csware commented Jun 21, 2024

Please also consider to make generating blurhash on filechange optional

@st3iny
Copy link
Member Author

st3iny commented Jul 30, 2024

This approach is problematic (to backport) because it touches public API.

@st3iny st3iny closed this Aug 5, 2024
@st3iny st3iny deleted the fix/dont-persist-blurhash-preview branch August 5, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Automatic (not on-demand) preview generation fills disk
2 participants