change timelimit to 45 min

This commit is contained in:
olegphenomenon 2021-11-23 14:48:08 +02:00
parent 577c7e0209
commit 0514b977be

View file

@ -6,7 +6,7 @@
# For email_validation event kind also check_level (regex/mx/smtp) is stored in the event_data
class ValidationEvent < ApplicationRecord
enum event_type: ValidationEvent::EventType::TYPES, _suffix: true
VALIDATION_PERIOD = 1.year.freeze
VALIDATION_PERIOD = 2.years.freeze
VALID_CHECK_LEVELS = %w[regex mx smtp].freeze
VALID_EVENTS_COUNT_THRESHOLD = 5