Sketch out how to use the jobs queue for trace insertion and deletion

Refs #1852
This commit is contained in:
Andy Allan 2018-10-31 17:51:30 +01:00
parent fbbabeff1e
commit e59f1b6108
8 changed files with 52 additions and 82 deletions

View file

@ -0,0 +1,7 @@
class ApplicationJob < ActiveJob::Base
# Automatically retry jobs that encountered a deadlock
# retry_on ActiveRecord::Deadlocked
# Most jobs are safe to ignore if the underlying records are no longer available
# discard_on ActiveJob::DeserializationError
end