metamaps--metamaps/config/initializers/delayed_job.rb

2 lines
106 B
Ruby
Raw Normal View History

2015-10-01 02:30:53 +00:00
Delayed::Worker.max_attempts = 2
Delayed::Worker.delay_jobs = !(Rails.env.test? or Rails.env.development?)