Change frame limit to match imgproxy (#13265)

This commit is contained in:
Michael Kohl 2021-04-06 17:28:50 +07:00 committed by GitHub
parent 484c97fc8d
commit 57545cc607
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ class BaseUploader < CarrierWave::Uploader::Base
include CarrierWave::BombShelter # limits size to 4096x4096
include CarrierWave::MiniMagick # adds processing operations
FRAME_MAX = 1000
FRAME_MAX = 500
FRAME_STRIP_MAX = 150
process :validate_frame_count