gitlab-org--gitlab-foss/app/workers/system_hook_push_worker.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
339 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class SystemHookPushWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
data_consistency :always
sidekiq_options retry: 3
feature_category :source_code_management
def perform(push_data, hook_id)
SystemHooksService.new.execute_hooks(push_data, hook_id)
end
end