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

group_private_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: 30d1f74fb2871f7195cf070652c08688457f2a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module TodosDestroyer
  class GroupPrivateWorker # rubocop:disable Scalability/IdempotentWorker
    include ApplicationWorker

    sidekiq_options retry: 3
    include TodosDestroyerQueue

    def perform(group_id)
      ::Todos::Destroy::GroupPrivateService.new(group_id).execute
    end
  end
end