Sha256: 8068f39eb22622fe07ce158b417bd49a2add8f8d6279012df992e57726f6bdd1

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

# A simple job class that processes a given index.
#
class ThinkingSphinx::Deltas::ResqueDelta::DeltaJob
  @queue = :ts_delta

  # Runs Sphinx's indexer tool to process the index. Currently assumes Sphinx
  # is running.
  #
  # @param [String] index the name of the Sphinx index
  #
  def self.perform(index)
    ThinkingSphinx::Deltas::IndexJob.new(index).perform
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ts-resque-delta-2.1.0 lib/thinking_sphinx/deltas/resque_delta/delta_job.rb
ts-resque-delta-2.0.0 lib/thinking_sphinx/deltas/resque_delta/delta_job.rb