about summary refs log tree commit diff stats
path: root/test/dummy/app/jobs
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-27 23:51:23 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-27 23:51:23 -0400
commitd09db2d6d0727faba8e5078900f2fbd1e18ea49f (patch)
tree978edaa0c321477d3c04f515cd13da0051a5459f /test/dummy/app/jobs
parent75a7c7131f6c9a6d80d16055130609eb97f37dfd (diff)
downloadwittle-d09db2d6d0727faba8e5078900f2fbd1e18ea49f.tar.gz
wittle-d09db2d6d0727faba8e5078900f2fbd1e18ea49f.tar.bz2
wittle-d09db2d6d0727faba8e5078900f2fbd1e18ea49f.zip
it's an engine now!
Diffstat (limited to 'test/dummy/app/jobs')
-rw-r--r--test/dummy/app/jobs/application_job.rb7
1 files changed, 7 insertions, 0 deletions
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 @@
1class ApplicationJob < ActiveJob::Base
2 # Automatically retry jobs that encountered a deadlock
3 # retry_on ActiveRecord::Deadlocked
4
5 # Most jobs are safe to ignore if the underlying records are no longer available
6 # discard_on ActiveJob::DeserializationError
7end