diff options
Diffstat (limited to 'db/post_migrate/20211103141403_remove_propagate_service_template_worker.rb')
-rw-r--r-- | db/post_migrate/20211103141403_remove_propagate_service_template_worker.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/post_migrate/20211103141403_remove_propagate_service_template_worker.rb b/db/post_migrate/20211103141403_remove_propagate_service_template_worker.rb new file mode 100644 index 00000000000..d949641dbce --- /dev/null +++ b/db/post_migrate/20211103141403_remove_propagate_service_template_worker.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class RemovePropagateServiceTemplateWorker < Gitlab::Database::Migration[1.0] + def up + Sidekiq::Queue.new('propagate_service_template').clear + end + + def down + # no-op + end +end |