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
Your Name 26d3e8bb8e Self-heal stale storage_used on upload/delete hot path
Make increaseStorageUsed/decrementStorageUsed recalculate from source when
the cached counter is older than STALE_AFTER_HOURS (168h) or never
calculated, so an affected user is corrected the next time they upload or
delete without waiting for the nightly reconciler. Callers save/delete the
media row before calling these, so the from-source recalc already reflects
the change and the incremental delta is skipped on the recalc path.

- Add UserStorageService::STALE_AFTER_HOURS and isStale() helper (no extra
  query: reads the already-loaded model), with defensive Carbon parsing
- Cast users.storage_used_updated_at to datetime so freshness comparisons
  work on a Carbon instance
- Add tests for stale/fresh/never-calculated increase and decrement paths
2 weeks ago
..
Auth chore: resolve psalm issues in admin commands and auth 4 weeks ago
Console/Commands Fix account storage limit not freeing on media deletion (#7169) 2 weeks ago
Events refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Http Fix account storage limit not freeing on media deletion (#7169) 2 weeks ago
Jobs Fix account storage limit not freeing on media deletion (#7169) 2 weeks ago
Listeners refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Mail refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Models Self-heal stale storage_used on upload/delete hot path 2 weeks ago
Observers Fix StoryIndexService 2 weeks ago
Passport Fix PAT 3 months ago
Policies refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Providers chore: modernize service providers for Laravel 13 readiness 3 weeks ago
Rules refactor: rename PixelfedUsername rule to ValidUsername 4 weeks ago
Services Self-heal stale storage_used on upload/delete hot path 2 weeks ago
Transformer Update AccountTransformer.php 2 weeks ago
Util Fall back to stored profile when remote refresh fails 2 weeks ago
HasSnowflakePrimary.php Lint 9 months ago
helpers.php Lint 9 months ago