mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-25 11:42:43 +00:00
Revert "increase the MAX_DESCRIPTION_LENGTH of media_attachment"
This reverts commit 58f6e4c36a.
This commit is contained in:
parent
58f6e4c36a
commit
44c6d1d464
2 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ class MediaAttachment < ApplicationRecord
|
|||
enum type: { image: 0, gifv: 1, video: 2, unknown: 3, audio: 4 }
|
||||
enum processing: { queued: 0, in_progress: 1, complete: 2, failed: 3 }, _prefix: true
|
||||
|
||||
MAX_DESCRIPTION_LENGTH = 65_536
|
||||
MAX_DESCRIPTION_LENGTH = 1_500
|
||||
|
||||
IMAGE_LIMIT = 16.megabytes
|
||||
VIDEO_LIMIT = 99.megabytes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue