From d8d036c9519b5faac8c9f8b9bdb15657960ceb62 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Thu, 7 Dec 2023 15:47:47 +0100 Subject: [PATCH] move rebase jobs to sidekiq --- config/initializers/transition_to_sidekiq.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/initializers/transition_to_sidekiq.rb b/config/initializers/transition_to_sidekiq.rb index 352b01e6c2c..633f1834e6c 100644 --- a/config/initializers/transition_to_sidekiq.rb +++ b/config/initializers/transition_to_sidekiq.rb @@ -9,5 +9,9 @@ class ActiveStorage::PurgeJob < ActiveStorage::BaseJob class VirusScannerJob self.queue_adapter = :sidekiq end + + class DossierRebaseJob < ApplicationJob + self.queue_adapter = :sidekiq + end end end