Merge pull request #10361 from demarches-simplifiees/still_moving_jobs
Tech: deplace d'autres jobs sur sidekiq
This commit is contained in:
commit
1588d1b12c
1 changed files with 28 additions and 0 deletions
|
@ -63,5 +63,33 @@ if Rails.env.production? && SIDEKIQ_ENABLED
|
||||||
class DossierOperationLogMoveToColdStorageBatchJob < ApplicationJob
|
class DossierOperationLogMoveToColdStorageBatchJob < ApplicationJob
|
||||||
self.queue_adapter = :sidekiq
|
self.queue_adapter = :sidekiq
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class BatchOperationEnqueueAllJob < ApplicationJob
|
||||||
|
self.queue_adapter = :sidekiq
|
||||||
|
end
|
||||||
|
|
||||||
|
class BatchOperationProcessOneJob < ApplicationJob
|
||||||
|
self.queue_adapter = :sidekiq
|
||||||
|
end
|
||||||
|
|
||||||
|
class TitreIdentiteWatermarkJob < ApplicationJob
|
||||||
|
self.queue_adapter = :sidekiq
|
||||||
|
end
|
||||||
|
|
||||||
|
class AdminUpdateDefaultZonesJob < ApplicationJob
|
||||||
|
self.queue_adapter = :sidekiq
|
||||||
|
end
|
||||||
|
|
||||||
|
class ProcessStalledDeclarativeDossierJob < ApplicationJob
|
||||||
|
self.queue_adapter = :sidekiq
|
||||||
|
end
|
||||||
|
|
||||||
|
class ResetExpiringDossiersJob < ApplicationJob
|
||||||
|
self.queue_adapter = :sidekiq
|
||||||
|
end
|
||||||
|
|
||||||
|
class SendClosingNotificationJob < ApplicationJob
|
||||||
|
self.queue_adapter = :sidekiq
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue