]> git.openstreetmap.org Git - rails.git/blob - app/jobs/application_job.rb
Sketch out how to use the jobs queue for trace insertion and deletion
[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