mirror of https://github.com/pixelfed/pixelfed
fix/2fa-removal-requires-code
staging
l10n_crowdin_translations
dev
feature/configurable-min-registration-age
configcache-clean-rebased
dockerfile-compile-ffmpeg-x264-x265
fix/media-storage-optimized-charge
fix/dm-remote-delete-media-leak
feat/emoji-cloud-storage-v2
feat/story-cloud-storage-v2
fix/hashtags-outside-bmp
copilot/review-old-issues
groups
vue3
v0.1.9
v0.10.0
v0.10.1
v0.10.10
v0.10.2
v0.10.3
v0.10.4
v0.10.5
v0.10.6
v0.10.7
v0.10.8
v0.10.9
v0.11.0
v0.11.1
v0.11.10
v0.11.11
v0.11.12
v0.11.13
v0.11.2
v0.11.3
v0.11.4
v0.11.5
v0.11.6
v0.11.7
v0.11.8
v0.11.9
v0.12.0
v0.12.1
v0.12.10
v0.12.11
v0.12.12
v0.12.2
v0.12.3
v0.12.4
v0.12.5
v0.12.6
v0.12.7
v0.12.8
v0.12.9
v0.13.0
v0.14.0
v0.14.1
v0.14.2
v0.14.3
v0.5.9
v0.6.0
v0.6.1
v0.7.6
v0.8.0
v0.8.5
v0.8.6
v0.9.0
v0.9.4
v0.9.5
v0.9.6
${ noResults }
1 Commits (3232761a74999284df11345f1870db6a1dfb6fcf)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
3232761a74 |
fix: prevent remcache temp file leaks and add GC command
The remote avatar/media fetchers wrote temp files to storage/app/remcache/ and only unlinked them on the happy path. Any exception between the write and the unlink (e.g. a cloud upload failure) leaked the file, and nothing swept the directory. - Wrap post-write logic in fetchAvatar() and remoteToCloud() in try/finally so the temp file is always removed, even on failure - Add gc:remcache command to delete stale remcache files (default >24h old, preserves .gitignore, supports --hours and --dry-run) - Schedule gc:remcache daily to clean up any stragglers StoryFetch already handled cleanup via try/catch and was left unchanged. |
4 weeks ago |