Execute AchiveCreationJob in exports queue

Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
This commit is contained in:
Paul Chavard 2021-06-24 17:46:22 +02:00
parent b73d504f8d
commit 48dca8bad1

View file

@ -1,4 +1,6 @@
class ArchiveCreationJob < ApplicationJob
queue_as :exports
def perform(procedure, archive, instructeur)
ProcedureArchiveService
.new(procedure)