Sha256: fd990cef407a022a0cff19c01d65f0a3ac2db40f740cf15e3ea101c968346f4b
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
namespace :thinking_sphinx do task :index do ThinkingSphinx::Deltas::Job.cancel_thinking_sphinx_jobs end desc "Process stored delta index requests" task :delayed_delta => :app_env do require 'delayed/worker' Delayed::Worker.new( :min_priority => ENV['MIN_PRIORITY'], :max_priority => ENV['MAX_PRIORITY'] ).start end end namespace :ts do desc "Process stored delta index requests" task :dd => "thinking_sphinx:delayed_delta" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ts-delayed-delta-1.0.1 | lib/thinking_sphinx/deltas/delayed_delta/tasks.rb |
ts-delayed-delta-1.0.0 | lib/thinking_sphinx/deltas/delayed_delta/tasks.rb |