Skip to content

Commit

Permalink
media limit
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyuki2578 committed Jul 6, 2024
1 parent 67be84f commit 3232a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/attachmentable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3232a0e

Please sign in to comment.