refactor: put dol cold storage migration to its own queue

This commit is contained in:
simon lehericey 2024-04-16 13:48:12 +02:00
parent 7a80574afc
commit 2f946c1592
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -1,5 +1,5 @@
class DossierOperationLogMoveToColdStorageBatchJob < ApplicationJob
queue_as :low_priority
queue_as :low_priority_sub_second_batch
def perform(ids)
DossierOperationLog.where(id: ids)