lib/advanced_sneakers_activejob/tasks.rb in advanced-sneakers-activejob-0.2.0 vs lib/advanced_sneakers_activejob/tasks.rb in advanced-sneakers-activejob-0.2.1

- old
+ new

@@ -3,10 +3,10 @@ require 'sneakers/tasks' task :environment namespace :sneakers do - desc 'Start work for ActiveJob only (set $WORKERS=ActiveJobKlass1::Consumer,ActiveJobKlass2::Consumer)' + desc 'Start work for ActiveJob only (set $WORKERS=AdvancedSneakersActiveJob::FooQueueConsumer for processing of :foo queue)' task :active_job do Rake::Task['environment'].invoke # Enforsing ActiveJob-only workers AdvancedSneakersActiveJob.configure { |c| c.activejob_workers_strategy = :only }