From 40bc03e71789523ec0f3cc4ae9f8532430832cd4 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 11 Feb 2023 12:48:38 +0100 Subject: [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 --- internal/api/client/admin/mediacleanup.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/api/client/admin') diff --git a/internal/api/client/admin/mediacleanup.go b/internal/api/client/admin/mediacleanup.go index 51c9656ad..3d10deb4a 100644 --- a/internal/api/client/admin/mediacleanup.go +++ b/internal/api/client/admin/mediacleanup.go @@ -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: -- cgit v1.2.3