2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2024-04-25 17:57:55 +02:00
|
|
|
class DossierIndexSearchTermsJob < ApplicationJob
|
2024-05-23 19:09:04 +02:00
|
|
|
queue_as :low_priority
|
|
|
|
|
2024-04-25 17:57:55 +02:00
|
|
|
discard_on ActiveRecord::RecordNotFound
|
|
|
|
|
|
|
|
def perform(dossier)
|
|
|
|
dossier.index_search_terms
|
|
|
|
end
|
|
|
|
end
|