fix(archive): do not retry 25 times if the related objected does not exist no more
This commit is contained in:
parent
8bbd1040bb
commit
9cb94f92a6
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
class ArchiveCreationJob < ApplicationJob
|
||||
discard_on ActiveRecord::RecordNotFound
|
||||
|
||||
queue_as :archives
|
||||
|
||||
def max_run_time
|
||||
|
|
Loading…
Reference in a new issue