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.
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
|
3 weeks ago | |
|---|---|---|
| .. | ||
| AccountPostCountStatUpdate.php | 4 weeks ago | |
| CleanupExpiredAppRegistrations.php | 4 weeks ago | |
| GarbageCollectorDatabaseSession.php | 4 weeks ago | |
| GarbageCollectorFailedJob.php | 4 weeks ago | |
| GarbageCollectorImportUpload.php | 4 weeks ago | |
| GarbageCollectorMedia.php | 4 weeks ago | |
| GarbageCollectorPasswordReset.php | 4 weeks ago | |
| GarbageCollectorStory.php | 4 weeks ago | |
| HashtagCachedCountUpdate.php | 4 weeks ago | |
| ImportRemoveDeletedAccounts.php | 4 weeks ago | |
| ImportUploadCleanStorage.php | 4 weeks ago | |
| ImportUploadMediaToCloudStorage.php | 4 weeks ago | |
| InstanceUpdateTotalLocalPosts.php | 4 weeks ago | |
| NotificationEpochUpdate.php | 4 weeks ago | |
| PushGatewayRefresh.php | 4 weeks ago | |
| SoftwareUpdateRefresh.php | 4 weeks ago | |
| StorageMaintenance.php | 3 weeks ago | |
| TransformImports.php | 3 weeks ago | |
| WeeklyInstanceScan.php | 4 weeks ago | |