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.
pixelfed/app/Jobs/AvatarPipeline
Your Name 400f00c5e1 feat: storage:maintenance command + in-flow cleanup of emptied dirs
Replace the remcache GC (GarbageCollectorRemcache / gc:remcache) with a
broader storage:maintenance command that sweeps stale remcache temp files and
recursively removes the random empty directories accumulated under the media,
story, avatar and import trees (--hours/--only/--except/--dry-run), scheduled
daily.

Fix the root causes so flows clean up after themselves rather than relying on
the sweep:
- MediaDeletePipeline removes its own emptied m/_v2 leaf dir
- AvatarOptimize logs the previously-swallowed exception, still cleans up the
  old avatar on failure, and removes the old file's now-empty splayed dir
- AvatarController::deleteAvatar removes the emptied splayed dir
- StoryExpire/StoryDelete remove the story's own emptied leaf dir
- TransformImports removes imports/{userId} once its files are moved out
- StoryFetch cleans up its remcache temp file in a finally block
4 weeks ago
..
AvatarOptimize.php feat: storage:maintenance command + in-flow cleanup of emptied dirs 4 weeks ago
AvatarStorageCleanup.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
AvatarStorageLargePurge.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
CreateAvatar.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
RemoteAvatarFetch.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
RemoteAvatarFetchFromUrl.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago