fix(archive): do not retry 25 times if the related objected does not exist no more

This commit is contained in:
simon lehericey 2023-09-07 16:53:37 +02:00
parent 8bbd1040bb
commit 9cb94f92a6

View file

@ -1,4 +1,6 @@
class ArchiveCreationJob < ApplicationJob
discard_on ActiveRecord::RecordNotFound
queue_as :archives
def max_run_time