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

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

class PropagateIntegrationWorker
  include ApplicationWorker

  sidekiq_options retry: 3

  feature_category :integrations
  idempotent!
  loggable_arguments 1

  def perform(integration_id)
    Admin::PropagateIntegrationService.propagate(Integration.find(integration_id))
  end
end