about summary refs log tree commit diff stats
path: root/app/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'app/jobs')
-rw-r--r--app/jobs/application_job.rb7
-rw-r--r--app/jobs/wittle/application_job.rb4
2 files changed, 7 insertions, 4 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 @@
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
diff --git a/app/jobs/wittle/application_job.rb b/app/jobs/wittle/application_job.rb deleted file mode 100644 index b0ab02e..0000000 --- a/app/jobs/wittle/application_job.rb +++ /dev/null
@@ -1,4 +0,0 @@
1module Wittle
2 class ApplicationJob < ActiveJob::Base
3 end
4end