diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2023-03-25 10:00:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-25 10:00:03 +0100 |
commit | 9bda93374093c738f1007922b2e8df58043c718f (patch) | |
tree | 8646507dbbf1cbc515912a047363c56e1bf16cd2 /app/models/concerns | |
parent | ef127c964a60f365129bc97a2cb2fc6d12ba6407 (diff) |
Change media upload limits and remove client-side resizing (#23726)
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/attachmentable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/attachmentable.rb b/app/models/concerns/attachmentable.rb index 01fae4236..d44c22438 100644 --- a/app/models/concerns/attachmentable.rb +++ b/app/models/concerns/attachmentable.rb @@ -5,7 +5,7 @@ require 'mime/types/columnar' module Attachmentable extend ActiveSupport::Concern - MAX_MATRIX_LIMIT = 16_777_216 # 4096x4096px or approx. 16MB + MAX_MATRIX_LIMIT = 33_177_600 # 7680x4320px or approx. 847MB in RAM GIF_MATRIX_LIMIT = 921_600 # 1280x720px # For some file extensions, there exist different content |