metamaps--metamaps/config/initializers/delayed_job.rb
2015-09-30 22:30:53 -04:00

2 lines
No EOL
106 B
Ruby

Delayed::Worker.max_attempts = 2
Delayed::Worker.delay_jobs = !(Rails.env.test? or Rails.env.development?)