Skip to content

Commit

Permalink
Extend max delayed job from 5 mins to 20 mins
Browse files Browse the repository at this point in the history
  • Loading branch information
awwaiid authored and dorner committed Nov 19, 2023
1 parent cd75831 commit f3d676e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/delayed_job.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Delayed::Worker.destroy_failed_jobs = false
Delayed::Worker.sleep_delay = 60
Delayed::Worker.max_attempts = 3
Delayed::Worker.max_run_time = 5.minutes
Delayed::Worker.max_run_time = 20.minutes
Delayed::Worker.read_ahead = 10
Delayed::Worker.default_queue_name = 'default'
Delayed::Worker.delay_jobs = !Rails.env.test?
Expand Down

0 comments on commit f3d676e

Please sign in to comment.