mirror of
https://github.com/System-End/theseus.git
synced 2026-04-19 21:05:10 +00:00
9 lines
322 B
Ruby
9 lines
322 B
Ruby
class ApplicationJob < ActiveJob::Base
|
|
include GoodJob::ActiveJobExtensions::Concurrency
|
|
|
|
# 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
|