diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-18 12:39:38 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:22 -0500 |
commit | acdfce2bbaa6d613942a3d34ccbd561ca656d264 (patch) | |
tree | 6c63fec515d8a6399a13618a31d579cbbc6f37f0 /app/models | |
parent | 1ca30982faae8fc96e8b61186165b001be04de1e (diff) |
Raise maximum attachment size to 66 MiB and maximum standard GIF size to 333 KiB.
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/media_attachment.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index 5c93ed4c5..7a0022701 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -125,8 +125,8 @@ class MediaAttachment < ApplicationRecord }, }.freeze - SIZE_LIMIT = 40.megabytes - GIF_LIMIT = ENV.fetch('MAX_GIF_SIZE', 200).to_i.kilobytes + SIZE_LIMIT = 66.megabytes + GIF_LIMIT = ENV.fetch('MAX_GIF_SIZE', 333).to_i.kilobytes belongs_to :account, inverse_of: :media_attachments, optional: true belongs_to :status, inverse_of: :media_attachments, optional: true |