lib/advanced_sneakers_activejob/tasks.rb in advanced-sneakers-activejob-0.5.0 vs lib/advanced_sneakers_activejob/tasks.rb in advanced-sneakers-activejob-0.6.0
- old
+ new
@@ -14,10 +14,10 @@
# Enforsing ActiveJob-only workers
AdvancedSneakersActiveJob.configure { |c| c.activejob_workers_strategy = :only }
Sneakers.configure(AdvancedSneakersActiveJob.config.sneakers)
- Sneakers.logger.level = Logger::INFO # debug logs are too noizy because of bunny
+ Sneakers.logger.level = AdvancedSneakersActiveJob.config.log_level
Rake::Task['sneakers:run'].invoke
end
def populate_workers_by_queues