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

8 lines
191 B
Ruby

class SystemHookPushWorker
include Sidekiq::Worker
include DedicatedSidekiqQueue
def perform(push_data, hook_id)
SystemHooksService.new.execute_hooks(push_data, hook_id)
end
end