From b6e1e1a04b4164d928087c56021232115a062e8a Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Sat, 20 Apr 2024 18:49:27 +0200 Subject: [PATCH] chore(sidekiq): move more jobs to sidekiq --- config/initializers/transition_to_sidekiq.rb | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/config/initializers/transition_to_sidekiq.rb b/config/initializers/transition_to_sidekiq.rb index a9d34c7b3..419385827 100644 --- a/config/initializers/transition_to_sidekiq.rb +++ b/config/initializers/transition_to_sidekiq.rb @@ -63,5 +63,33 @@ if Rails.env.production? && SIDEKIQ_ENABLED class DossierOperationLogMoveToColdStorageBatchJob < ApplicationJob self.queue_adapter = :sidekiq end + + class BatchOperationEnqueueAllJob < ApplicationJob + self.queue_adapter = :sidekiq + end + + class BatchOperationProcessOneJob < ApplicationJob + self.queue_adapter = :sidekiq + end + + class TitreIdentiteWatermarkJob < ApplicationJob + self.queue_adapter = :sidekiq + end + + class AdminUpdateDefaultZonesJob < ApplicationJob + self.queue_adapter = :sidekiq + end + + class ProcessStalledDeclarativeDossierJob < ApplicationJob + self.queue_adapter = :sidekiq + end + + class ResetExpiringDossiersJob < ApplicationJob + self.queue_adapter = :sidekiq + end + + class SendClosingNotificationJob < ApplicationJob + self.queue_adapter = :sidekiq + end end end