2 lines
106 B
Ruby
2 lines
106 B
Ruby
|
Delayed::Worker.max_attempts = 2
|
||
|
Delayed::Worker.delay_jobs = !(Rails.env.test? or Rails.env.development?)
|