mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02: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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user