Merge pull request #10160 from tchak/chore-run-maintenance-tasks-in-sidekiq

chore(tasks): run tasks in sidekiq
This commit is contained in:
Paul Chavard 2024-03-20 08:08:47 +00:00 committed by GitHub
commit c62937862e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,5 +17,9 @@ if Rails.env.production? && sidekiq_enabled
class ProcedureExternalURLCheckJob < ApplicationJob
self.queue_adapter = :sidekiq
end
class MaintenanceTasks::TaskJob
self.queue_adapter = :sidekiq
end
end
end