Sha256: 3f6be39d1960156f54427d2ba0e4b19827cc4e3d7a71a9c6713b7d3ecc9f8a03
Contents?: true
Size: 627 Bytes
Versions: 34
Compression:
Stored size: 627 Bytes
Contents
module ThinkingSphinx module Deltas class DeltaJob attr_accessor :index def initialize(index) @index = index end def perform return true unless ThinkingSphinx.updates_enabled? && ThinkingSphinx.deltas_enabled? config = ThinkingSphinx::Configuration.instance client = Riddle::Client.new config.address, config.port output = `#{config.bin_path}indexer --config #{config.config_file} --rotate #{index}` puts output unless ThinkingSphinx.suppress_delta_output? true end end end end
Version data entries
34 entries across 34 versions & 7 rubygems