move virus scanner job to sidekiq

This commit is contained in:
simon lehericey 2023-11-21 16:13:32 +01:00
parent db8c57aa2d
commit de82ab8dfd

View file

@ -5,5 +5,9 @@ if Rails.env.production? && sidekiq_enabled
class ActiveStorage::PurgeJob < ActiveStorage::BaseJob class ActiveStorage::PurgeJob < ActiveStorage::BaseJob
self.queue_adapter = :sidekiq self.queue_adapter = :sidekiq
end end
class VirusScannerJob
self.queue_adapter = :sidekiq
end
end end
end end