Sha256: 47e96aeb8818aced628b121213d3407e19a7c327284e9b72b21798f29c4f7d36

Contents?: true

Size: 246 Bytes

Versions: 50

Compression:

Stored size: 246 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class UpdateSearchIndexesJob < ApplicationJob
    queue_as :default

    def perform(elements)
      elements.each { |element| element.try(:try_update_index_for_search_resource) }
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
decidim-core-0.25.0.rc4 app/jobs/decidim/update_search_indexes_job.rb
decidim-core-0.25.0.rc3 app/jobs/decidim/update_search_indexes_job.rb
decidim-core-0.25.0.rc2 app/jobs/decidim/update_search_indexes_job.rb
decidim-core-0.25.0.rc1 app/jobs/decidim/update_search_indexes_job.rb
decidim-core-0.24.3 app/jobs/decidim/update_search_indexes_job.rb
decidim-core-0.24.2 app/jobs/decidim/update_search_indexes_job.rb
decidim-core-0.24.1 app/jobs/decidim/update_search_indexes_job.rb
decidim-core-0.24.0 app/jobs/decidim/update_search_indexes_job.rb
decidim-core-0.24.0.rc2 app/jobs/decidim/update_search_indexes_job.rb
decidim-core-0.24.0.rc1 app/jobs/decidim/update_search_indexes_job.rb