Add EMOJI_REACTION_PER_ACCOUNT_LIMIT env
This commit is contained in:
parent
1bac691642
commit
59fa430e9e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class EmojiReaction < ApplicationRecord
|
|||
include Paginable
|
||||
|
||||
EMOJI_REACTION_LIMIT = 32_767
|
||||
EMOJI_REACTION_PER_ACCOUNT_LIMIT = 3
|
||||
EMOJI_REACTION_PER_ACCOUNT_LIMIT = ENV.fetch('EMOJI_REACTION_PER_ACCOUNT_LIMIT', 3)
|
||||
|
||||
update_index('statuses', :status)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue