foodsoft/config/initializers/delayed_job_config.rb

3 lines
79 B
Ruby
Raw Normal View History

Delayed::Worker.max_attempts = 5
Delayed::Worker.delay_jobs = !Rails.env.test?