move api_entreprise::entreprise_job to sidekiq

This commit is contained in:
simon lehericey 2024-04-02 17:34:42 +02:00
parent 71a5876af1
commit c8a64f8057
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -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