11 lines
190 B
Ruby
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
|