chore: move more jobs to sidekiq
active_storage_analysis : queue active_storage_analysis proceduresvasvr: queue sva webhook: queue webhooks_v1 destroyrecordlater: default champfetchexternal: default dossierupdatesearch: default
This commit is contained in:
parent
a30dfaf118
commit
40df5028ff
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