From f3d676e1c404cdfe1683779e4d2caef7038d9e8f Mon Sep 17 00:00:00 2001 From: Brock Wilcox Date: Sun, 19 Nov 2023 09:57:27 -0500 Subject: [PATCH] Extend max delayed job from 5 mins to 20 mins --- config/initializers/delayed_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/delayed_job.rb b/config/initializers/delayed_job.rb index dfc618998a..c5dbe5db3f 100644 --- a/config/initializers/delayed_job.rb +++ b/config/initializers/delayed_job.rb @@ -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?