diff --git a/config/initializers/transition_to_sidekiq.rb b/config/initializers/transition_to_sidekiq.rb index e64c9aa4f..352b01e6c 100644 --- a/config/initializers/transition_to_sidekiq.rb +++ b/config/initializers/transition_to_sidekiq.rb @@ -5,5 +5,9 @@ if Rails.env.production? && sidekiq_enabled class ActiveStorage::PurgeJob < ActiveStorage::BaseJob self.queue_adapter = :sidekiq end + + class VirusScannerJob + self.queue_adapter = :sidekiq + end end end