Merge pull request #10361 from demarches-simplifiees/still_moving_jobs

Tech: deplace d'autres jobs sur sidekiq
This commit is contained in:
LeSim 2024-04-22 10:52:20 +00:00 committed by GitHub
commit 1588d1b12c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,5 +63,33 @@ if Rails.env.production? && SIDEKIQ_ENABLED
class DossierOperationLogMoveToColdStorageBatchJob < ApplicationJob class DossierOperationLogMoveToColdStorageBatchJob < ApplicationJob
self.queue_adapter = :sidekiq self.queue_adapter = :sidekiq
end 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
end end