From d09db2d6d0727faba8e5078900f2fbd1e18ea49f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 27 Oct 2023 23:51:23 -0400 Subject: it's an engine now! --- test/dummy/app/jobs/application_job.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/dummy/app/jobs/application_job.rb (limited to 'test/dummy/app/jobs') diff --git a/test/dummy/app/jobs/application_job.rb b/test/dummy/app/jobs/application_job.rb new file mode 100644 index 0000000..d394c3d --- /dev/null +++ b/test/dummy/app/jobs/application_job.rb @@ -0,0 +1,7 @@ +class ApplicationJob < ActiveJob::Base + # Automatically retry jobs that encountered a deadlock + # retry_on ActiveRecord::Deadlocked + + # Most jobs are safe to ignore if the underlying records are no longer available + # discard_on ActiveJob::DeserializationError +end -- cgit 1.4.1