diff options
author | HombreLaser <sebastian-440@live.com> | 2023-02-20 19:52:42 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-02-20 19:52:42 -0600 |
commit | a4d29f635c7c6bec4a15ab43956a2be896b0ff11 (patch) | |
tree | 51988b660f64197d3730de9e85737e38efef49d8 /app/jobs |
Commit inicial
Diffstat (limited to 'app/jobs')
-rw-r--r-- | app/jobs/application_job.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb new file mode 100644 index 0000000..d394c3d --- /dev/null +++ b/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 |