Merge pull request #10160 from tchak/chore-run-maintenance-tasks-in-sidekiq
chore(tasks): run tasks in sidekiq
This commit is contained in:
commit
c62937862e
1 changed files with 4 additions and 0 deletions
|
@ -17,5 +17,9 @@ if Rails.env.production? && sidekiq_enabled
|
||||||
class ProcedureExternalURLCheckJob < ApplicationJob
|
class ProcedureExternalURLCheckJob < ApplicationJob
|
||||||
self.queue_adapter = :sidekiq
|
self.queue_adapter = :sidekiq
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class MaintenanceTasks::TaskJob
|
||||||
|
self.queue_adapter = :sidekiq
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue