Sha256: 79c56af33ffb0654ebc59c1e8fa41761a41129390be9f93ffdc116bf6dbb19a9

Contents?: true

Size: 391 Bytes

Versions: 13

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

13 entries across 13 versions & 2 rubygems

Version Path
ts-resque-delta-1.2.1 lib/flying_sphinx/resque_delta/delta_job.rb
ts-resque-delta-1.2.0 lib/flying_sphinx/resque_delta/delta_job.rb
ryansch-ts-resque-delta-1.1.5.4 lib/flying_sphinx/resque_delta/delta_job.rb
ryansch-ts-resque-delta-1.1.5.4.dev lib/flying_sphinx/resque_delta/delta_job.rb
ryansch-ts-resque-delta-1.1.5.3 lib/flying_sphinx/resque_delta/delta_job.rb
ryansch-ts-resque-delta-1.1.5.2 lib/flying_sphinx/resque_delta/delta_job.rb
ryansch-ts-resque-delta-1.1.5.1 lib/flying_sphinx/resque_delta/delta_job.rb
ts-resque-delta-1.1.5 lib/flying_sphinx/resque_delta/delta_job.rb
ts-resque-delta-1.1.4 lib/flying_sphinx/resque_delta/delta_job.rb
ts-resque-delta-1.1.3 lib/flying_sphinx/resque_delta/delta_job.rb
ts-resque-delta-1.1.2 lib/flying_sphinx/resque_delta/delta_job.rb
ts-resque-delta-1.1.1 lib/flying_sphinx/resque_delta/delta_job.rb
ts-resque-delta-1.1.0 lib/flying_sphinx/resque_delta/delta_job.rb