11 lines
190 B
Ruby
11 lines
190 B
Ruby
# frozen_string_literal: true
|
|
|
|
class E621PoolImportJob < ApplicationJob
|
|
queue_as :exports
|
|
|
|
def perform
|
|
PoolIndex.create_index!(delete_existing: true)
|
|
PoolIndex.import!
|
|
end
|
|
end
|