Merge pull request #10240 from demarches-simplifiees/more_job_to_sidekiq

Tech: ajoute plus de job a sidekiq
This commit is contained in:
mfo 2024-04-02 09:28:08 +00:00 committed by GitHub
commit 597014e636
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,10 @@ if Rails.env.production? && sidekiq_enabled
self.queue_adapter = :sidekiq
end
class ActiveStorage::AnalyzeJob < ActiveStorage::BaseJob
self.queue_adapter = :sidekiq
end
class VirusScannerJob
self.queue_adapter = :sidekiq
end
@ -25,5 +29,25 @@ if Rails.env.production? && sidekiq_enabled
class PriorizedMailDeliveryJob < ActionMailer::MailDeliveryJob
self.queue_adapter = :sidekiq
end
class ProcedureSVASVRProcessDossierJob < ApplicationJob
self.queue_adapter = :sidekiq
end
class WebhookJob < ApplicationJob
self.queue_adapter = :sidekiq
end
class DestroyRecordLaterJob < ApplicationJob
self.queue_adapter = :sidekiq
end
class ChampFetchExternalDataJob < ApplicationJob
self.queue_adapter = :sidekiq
end
class DossierUpdateSearchTermsJob < ApplicationJob
self.queue_adapter = :sidekiq
end
end
end