Merge pull request #10353 from demarches-simplifiees/return_dol_batch_to_low_priority

Tech: replace le job de migration des logs fontionnelles sur une queue standard
This commit is contained in:
LeSim 2024-04-18 15:20:43 +00:00 committed by GitHub
commit 6b41eaad98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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