[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:
tobi
2023-02-11 12:48:38 +01:00
committed by GitHub
parent 70739d32cc
commit 40bc03e717
31 changed files with 1113 additions and 1090 deletions

View File

@@ -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: