move virus scanner job to sidekiq
This commit is contained in:
parent
db8c57aa2d
commit
de82ab8dfd
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue