chore(sidekiq): move more jobs to sidekiq

This commit is contained in:
simon lehericey 2024-04-20 18:49:27 +02:00
parent 51f9fa2f90
commit b6e1e1a04b
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -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