Add reactiondeck limit variable and improve sql
This commit is contained in:
parent
8e794d50b5
commit
f93679566b
4 changed files with 13 additions and 4 deletions
|
@ -65,6 +65,8 @@ class User < ApplicationRecord
|
|||
# to check their feed
|
||||
ACTIVE_DURATION = ENV.fetch('USER_ACTIVE_DAYS', 7).to_i.days.freeze
|
||||
|
||||
REACTION_DECK_MAX = 256
|
||||
|
||||
devise :two_factor_authenticatable,
|
||||
otp_secret_encryption_key: Rails.configuration.x.otp_secret
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue