move api_entreprise::entreprise_job to sidekiq
This commit is contained in:
parent
71a5876af1
commit
c8a64f8057
1 changed files with 4 additions and 0 deletions
|
@ -57,5 +57,9 @@ if Rails.env.production? && SIDEKIQ_ENABLED
|
|||
class Cron::CronJob < ApplicationJob
|
||||
self.queue_adapter = :sidekiq
|
||||
end
|
||||
|
||||
class APIEntreprise::EntrepriseJob < APIEntreprise::Job
|
||||
self.queue_adapter = :sidekiq
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue