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
Your Name 6496904293 Fix account storage limit not freeing on media deletion (#7169)
users.storage_used only ever grew: uploads incremented it but no deletion
path decremented it, so users hit the account size limit even when their
real media usage was well below it.

- Decrement storage_used in MediaDeletePipeline when media is removed
- Add UserStorageService::increaseStorageUsed / decrementStorageUsed as the
  fast, symmetric hot-path counter updates (floor-based, clamped at zero)
- Refactor the 6 upload call sites to use increaseStorageUsed instead of
  duplicated inline writes (also fixes ceil/floor drift vs the reconciler)
- Add (user_id, size) covering index so per-user SUM(size) is not a full
  table scan (INPLACE/LOCK=NONE, skipped on sqlite)
- Add user:storage:recalculate command to repair affected accounts, with a
  daily --stale=168 scheduled reconciler to correct any drift
- Add regression tests for the pipeline and UserStorageService
2 weeks ago
..
AdminPipeline refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
AutospamPipeline refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
AvatarPipeline feat: storage:maintenance command + in-flow cleanup of emptied dirs 4 weeks ago
CommentPipeline refactor: extract duplicate patterns into shared methods 1 month ago
ContactPipeline refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
CuratedOnboarding refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
DeletePipeline Trigger StatusHashtag observer on deletion to keep cached_count accurate 3 weeks ago
DirectPipeline Lint 9 months ago
FollowPipeline refactor: extract duplicate patterns into shared methods 1 month ago
GroupPipeline refactor: extract duplicate patterns into shared methods 1 month ago
GroupsPipeline refactor: replace short facade aliases with fully-qualified imports 1 month ago
HomeFeedPipeline Extract following-ids lookup into FollowerService::getFollowingIds 4 weeks ago
ImageOptimizePipeline refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ImportPipeline Drop Instagram import job when profile is missing instead of crashing 3 weeks ago
InboxPipeline Validate publicKey.id host on inbox actor ingest to prevent key_id poisoning 3 weeks ago
InstancePipeline refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
InternalPipeline refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
LikePipeline Federate unlike before deleting Like so retries can deliver 3 weeks ago
MediaPipeline Fix account storage limit not freeing on media deletion (#7169) 2 weeks ago
MentionPipeline refactor: extract duplicate patterns into shared methods 1 month ago
ModPipeline refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
MovePipeline Merge pull request #6892 from pixelfed/refactor/move-models-to-namespace 1 month ago
NotificationPipeline Update post pinning, and dispatch Notification cache warming to a job, and fix reblogged state on some endpoints 2 years ago
ParentalControlsPipeline Lint 9 months ago
ProfilePipeline refactor: extract duplicate patterns into shared methods 1 month ago
PushNotificationPipeline Lint 9 months ago
ReportPipeline Lint 9 months ago
SharePipeline Fix reblog handling 4 weeks ago
StatusPipeline Deliver posts regardless of profile no_autolink flag 3 weeks ago
StoryPipeline Merge pull request #7134 from shleeable/fix/storyfetch-ssrf 3 weeks ago
VideoPipeline Merge pull request #6667 from vinzgreg/fix/blurhash-memory-strands-video-uploads 4 weeks ago