Modify follow limit 7500 -> 15000
This commit is contained in:
parent
9b8ba11b79
commit
f8dd06a32f
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', 7_500).to_i
|
||||
LIMIT = ENV.fetch('MAX_FOLLOWS_THRESHOLD', 15_000).to_i
|
||||
RATIO = ENV.fetch('MAX_FOLLOWS_RATIO', 1.1).to_f
|
||||
|
||||
def validate(follow)
|
||||
|
|
Loading…
Reference in a new issue