]> git.openstreetmap.org Git - rails.git/blob - app/jobs/application_job.rb
Use test() instead of define_method() to add locale-specific tests
[rails.git] / app / jobs / application_job.rb
1 class 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
7 end