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/media/processingmedia.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/media/processingmedia.go') diff --git a/internal/media/processingmedia.go b/internal/media/processingmedia.go index 4b2ef322d..34f8dc26b 100644 --- a/internal/media/processingmedia.go +++ b/internal/media/processingmedia.go @@ -239,7 +239,7 @@ func (p *ProcessingMedia) finish(ctx context.Context) error { // .png image (requires ancillary chunk stripping) case mimeImagePng: - fullImg, err = decodeImage(&PNGAncillaryChunkStripper{ + fullImg, err = decodeImage(&pngAncillaryChunkStripper{ Reader: rc, }, imaging.AutoOrientation(true)) if err != nil { -- cgit v1.2.3