Modify follow limit 15000 -> 30000
This commit is contained in:
parent
ab79b58443
commit
90b17a3997
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class FollowLimitValidator < ActiveModel::Validator
|
||||
LIMIT = ENV.fetch('MAX_FOLLOWS_THRESHOLD', 15_000).to_i
|
||||
LIMIT = ENV.fetch('MAX_FOLLOWS_THRESHOLD', 30_000).to_i
|
||||
RATIO = ENV.fetch('MAX_FOLLOWS_RATIO', 1.1).to_f
|
||||
|
||||
def validate(follow)
|
||||
|
|
Loading…
Reference in a new issue