Merge pull request #10240 from demarches-simplifiees/more_job_to_sidekiq
Tech: ajoute plus de job a sidekiq
This commit is contained in:
commit
597014e636
1 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue