]> git.openstreetmap.org Git - rails.git/blob - app/jobs/application_job.rb
Notes: avoid calling json.partial! in loop
[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