mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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 | |
|---|---|---|
| .. | ||
| cache | 9 years ago | |
| app.php | 4 weeks ago | |
| providers.php | 4 weeks ago | |