Websites/app/jobs/e621_pool_import_job.rb

11 lines
190 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class E621PoolImportJob < ApplicationJob
2024-10-24 08:07:27 +00:00
queue_as :exports
def perform
PoolIndex.create_index!(delete_existing: true)
PoolIndex.import!
end
end