diff options
author | 2023-02-11 12:48:38 +0100 | |
---|---|---|
committer | 2023-02-11 12:48:38 +0100 | |
commit | 40bc03e71789523ec0f3cc4ae9f8532430832cd4 (patch) | |
tree | 9a2baceffea0b80d1701b636eb19107b96e70fd3 /internal/media/processingmedia.go | |
parent | [performance] remove throttling timers (#1466) (diff) | |
download | gotosocial-40bc03e71789523ec0f3cc4ae9f8532430832cd4.tar.xz |
[chore/performance] Update media prune logic, add extra CLI command (#1474)v0.7.0-rc2
* start updating media prune stuff a wee bit
* continue prune / uncache work
* more tidying + consistency stuff
* add prune CLI command
* docs
* arg
Diffstat (limited to 'internal/media/processingmedia.go')
-rw-r--r-- | internal/media/processingmedia.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |