mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 00:52:25 -05:00
[chore/performance] Update media prune logic, add extra CLI command (#1474)
* start updating media prune stuff a wee bit * continue prune / uncache work * more tidying + consistency stuff * add prune CLI command * docs * arg
This commit is contained in:
parent
70739d32cc
commit
40bc03e717
31 changed files with 1113 additions and 1090 deletions
|
|
@ -33,7 +33,8 @@ import (
|
|||
// MediaCleanupPOSTHandler swagger:operation POST /api/v1/admin/media_cleanup mediaCleanup
|
||||
//
|
||||
// Clean up remote media older than the specified number of days.
|
||||
// Also cleans up unused headers + avatars from the media cache.
|
||||
//
|
||||
// Also cleans up unused headers + avatars from the media cache and prunes orphaned items from storage.
|
||||
//
|
||||
// ---
|
||||
// tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue