Sha256: 9a6b28eab7dc4fb246f49c240470ac00c7cb867ec26bb5ab27cf4e836f012286

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

class FlyingSphinx::ResqueDelta::DeltaJob < ThinkingSphinx::Deltas::ResqueDelta::DeltaJob
  @queue = :fs_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(indices)
    return if skip?(indices)

    FlyingSphinx::IndexRequest.new([indices]).perform
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ts-resque-delta-1.2.4 lib/flying_sphinx/resque_delta/delta_job.rb
ts-resque-delta-1.2.3 lib/flying_sphinx/resque_delta/delta_job.rb
ts-resque-delta-1.2.2 lib/flying_sphinx/resque_delta/delta_job.rb