From 3232a0e4d65ccdec77b9d5006fb2fd978add7242 Mon Sep 17 00:00:00 2001 From: hiyuki Date: Sun, 7 Jul 2024 03:54:42 +0900 Subject: [PATCH] media limit --- app/models/concerns/attachmentable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/attachmentable.rb b/app/models/concerns/attachmentable.rb index a83e178fc4f2c9..2052f88f8d0d64 100644 --- a/app/models/concerns/attachmentable.rb +++ b/app/models/concerns/attachmentable.rb @@ -5,7 +5,7 @@ module Attachmentable extend ActiveSupport::Concern - MAX_MATRIX_LIMIT = 33_177_600 # 7680x4320px or approx. 847MB in RAM + MAX_MATRIX_LIMIT = 50_331_648 # 6144x8192px GIF_MATRIX_LIMIT = 921_600 # 1280x720px # For some file extensions, there exist different content