Class: Hyrax::QueuedIndexingJob

Inherits:
ApplicationJob show all
Includes:
QueuedJobBehavior
Defined in:
app/jobs/hyrax/queued_indexing_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(size: 200) ⇒ Object



6
7
8
9
# File 'app/jobs/hyrax/queued_indexing_job.rb', line 6

def perform(size: 200)
  redis_queue.index_queue(size: size)
  requeue(size: size)
end