Sketch out how to use the jobs queue for trace insertion and deletion
Refs #1852
This commit is contained in:
parent
fbbabeff1e
commit
e59f1b6108
8 changed files with 52 additions and 82 deletions
7
app/jobs/application_job.rb
Normal file
7
app/jobs/application_job.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue