0
0
Fork 0

fix: increase media size limit

This commit is contained in:
무라쿠모 2024-09-27 18:58:19 +09:00
parent e0302b3864
commit 1e64472343
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7
7 changed files with 9 additions and 9 deletions

View file

@ -39,8 +39,8 @@ class MediaAttachment < ApplicationRecord
MAX_DESCRIPTION_LENGTH = 1_500
IMAGE_LIMIT = 16.megabytes
VIDEO_LIMIT = 99.megabytes
IMAGE_LIMIT = 500.megabytes
VIDEO_LIMIT = 500.megabytes
MAX_VIDEO_MATRIX_LIMIT = 8_294_400 # 3840x2160px
MAX_VIDEO_FRAME_RATE = 120