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.
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 | |
|---|---|---|
| .. | ||
| Admin | 2 weeks ago | |
| Api | 2 weeks ago | |
| Auth | 2 weeks ago | |
| Concerns | 3 weeks ago | |
| Groups | 3 weeks ago | |
| Import | 4 weeks ago | |
| OAuth | 2 weeks ago | |
| Settings | 2 weeks ago | |
| Stories | 2 weeks ago | |
| AccountController.php | 2 weeks ago | |
| AccountInterstitialController.php | 4 weeks ago | |
| AdminController.php | 2 weeks ago | |
| AdminCuratedRegisterController.php | 2 weeks ago | |
| AdminInviteController.php | 2 weeks ago | |
| AdminShadowFilterController.php | 2 weeks ago | |
| ApiController.php | 4 weeks ago | |
| AppRegisterController.php | 4 weeks ago | |
| AuthorizeInteractionController.php | 2 weeks ago | |
| AvatarController.php | 3 weeks ago | |
| BookmarkController.php | 4 weeks ago | |
| CircleController.php | 4 weeks ago | |
| CircleProfileController.php | 9 months ago | |
| CollectionController.php | 2 weeks ago | |
| CollectionItemController.php | 9 months ago | |
| CommentController.php | 4 weeks ago | |
| ComposeController.php | 2 weeks ago | |
| ContactController.php | 4 weeks ago | |
| Controller.php | ||
| CuratedRegisterController.php | 4 weeks ago | |
| CustomFilterController.php | 2 weeks ago | |
| CustomFilterKeywordController.php | 9 months ago | |
| CustomFilterStatusController.php | 9 months ago | |
| DeckController.php | 4 weeks ago | |
| DirectMessageController.php | 2 weeks ago | |
| DiscoverCategoryController.php | 9 months ago | |
| DiscoverCategoryHashtagController.php | 9 months ago | |
| DiscoverController.php | 4 weeks ago | |
| FederationController.php | 4 weeks ago | |
| FollowerController.php | 4 weeks ago | |
| GroupController.php | 3 weeks ago | |
| GroupFederationController.php | 4 weeks ago | |
| GroupPostController.php | 9 months ago | |
| HashtagController.php | ||
| HashtagFollowController.php | 2 weeks ago | |
| HealthCheckController.php | 4 weeks ago | |
| ImportController.php | 9 months ago | |
| ImportPostController.php | 4 weeks ago | |
| InstallController.php | 4 weeks ago | |
| InstanceActorController.php | 4 weeks ago | |
| InternalApiController.php | 3 weeks ago | |
| LandingController.php | 2 weeks ago | |
| LikeController.php | 4 weeks ago | |
| LiveStreamController.php | 4 weeks ago | |
| MediaBlocklistController.php | 4 weeks ago | |
| MediaController.php | 4 weeks ago | |
| MediaTagController.php | 4 weeks ago | |
| MicroController.php | 4 weeks ago | |
| MobileController.php | 4 weeks ago | |
| NewsroomController.php | 4 weeks ago | |
| NotificationController.php | ||
| PageController.php | 2 weeks ago | |
| ParentalControlsController.php | 4 weeks ago | |
| PersonalAccessTokenController.php | 2 weeks ago | |
| PixelfedDirectoryController.php | 2 weeks ago | |
| PlaceController.php | 4 weeks ago | |
| PollController.php | 2 weeks ago | |
| PortfolioController.php | 4 weeks ago | |
| ProfileAliasController.php | 4 weeks ago | |
| ProfileController.php | 3 weeks ago | |
| ProfileMigrationController.php | 4 weeks ago | |
| ProfileSponsorController.php | 4 weeks ago | |
| PublicApiController.php | 2 weeks ago | |
| RemoteAuthController.php | 3 weeks ago | |
| RemoteOidcController.php | 4 weeks ago | |
| ReportController.php | 4 weeks ago | |
| SearchController.php | 2 weeks ago | |
| SeasonalController.php | 3 weeks ago | |
| SettingsController.php | 4 weeks ago | |
| SiteController.php | 2 weeks ago | |
| SoftwareUpdateController.php | 9 months ago | |
| SpaController.php | 4 weeks ago | |
| StatusController.php | 4 weeks ago | |
| StatusEditController.php | 2 weeks ago | |
| StoryComposeController.php | 3 weeks ago | |
| StoryController.php | 2 weeks ago | |
| TimelineController.php | 2 weeks ago | |
| UIKitController.php | 9 months ago | |
| UserAppSettingsController.php | 9 months ago | |
| UserEmailForgotController.php | 4 weeks ago | |
| UserInviteController.php | 4 weeks ago | |
| UserRolesController.php | 9 months ago | |