Welcome to mirror list, hosted at ThFree Co, Russian Federation.

destroyed_designs_worker.rb « todos_destroyer « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e01c1a109d7b6447e862f98914f7d29b4e6330c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module TodosDestroyer
  class DestroyedDesignsWorker
    include ApplicationWorker

    data_consistency :always

    sidekiq_options retry: 3
    include TodosDestroyerQueue

    idempotent!

    def perform(design_ids)
      ::Todos::Destroy::DesignService.new(design_ids).execute
    end
  end
end