debian-mirror-gitlab/app/workers/system_hook_push_worker.rb
2017-08-17 22:00:37 +05:30

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