Change custom emoji file size limit from 50 KB to 256 KB (#18788)

This commit is contained in:
Eugen Rochko 2022-07-09 22:07:17 +02:00 committed by GitHub
parent 4354f87de1
commit 89ef936126

View file

@ -23,7 +23,7 @@
class CustomEmoji < ApplicationRecord
include Attachmentable
LIMIT = 50.kilobytes
LIMIT = 256.kilobytes
SHORTCODE_RE_FRAGMENT = '[a-zA-Z0-9_]{2,}'