foodsoft/config/initializers/delayed_job_config.rb

2 lines
79 B
Ruby

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