PageView is no longer a valid model to index (#6161)
This commit is contained in:
parent
567eb49ee1
commit
0085437725
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ module Search
|
|||
|
||||
sidekiq_options queue: :medium_priority, retry: 10
|
||||
|
||||
VALID_RECORD_TYPES = %w[Comment Article User PageView].freeze
|
||||
VALID_RECORD_TYPES = %w[Comment Article User].freeze
|
||||
|
||||
def perform(record_type, record_id)
|
||||
unless VALID_RECORD_TYPES.include?(record_type)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue