Merge pull request #9469 from demarches-simplifiees/fix_doomed_archive_creation_job

fix(archive): ne réessaye de construire une archive périmée
This commit is contained in:
LeSim 2023-09-12 07:43:19 +00:00 committed by GitHub
commit fc4d59ec7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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