diff --git a/app/validators/follow_limit_validator.rb b/app/validators/follow_limit_validator.rb index c15829506..88091f06d 100644 --- a/app/validators/follow_limit_validator.rb +++ b/app/validators/follow_limit_validator.rb @@ -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)