summaryrefslogtreecommitdiff
path: root/app/workers/propagate_integration_worker.rb
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