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

image-cache: use sha256 hash of url for key #631

Merged
merged 3 commits into from
Jan 13, 2025
Merged

Conversation

v0l
Copy link
Contributor

@v0l v0l commented Jan 7, 2025

closes #630

Also added sub-dirs to avoid very large file numbers in a single dir which can cause issues down the line.

@jb55
Copy link
Contributor

jb55 commented Jan 9, 2025 via email

@v0l
Copy link
Contributor Author

v0l commented Jan 9, 2025

Ok maybe we should also consider tracking image cache usage so that we could apply some limits

@jb55
Copy link
Contributor

jb55 commented Jan 10, 2025

ok we'll just do the migration for awhile and then eventually remove it

@jb55 jb55 merged commit 28af9c2 into damus-io:master Jan 13, 2025
7 checks passed
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.

Path too long
2 participants