Websites/app/jobs/e621_pool_import_job.rb

11 lines
190 B
Ruby

# frozen_string_literal: true
class E621PoolImportJob < ApplicationJob
queue_as :default
def perform
PoolIndex.create_index!(delete_existing: true)
PoolIndex.import!
end
end