debian-mirror-gitlab/app/workers/propagate_integration_worker.rb
2021-09-04 02:52:04 +05:30

15 lines
315 B
Ruby

# 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