debian-mirror-gitlab/app/workers/system_hook_worker.rb
2016-11-03 12:29:30 +05:30

8 lines
186 B
Ruby

class SystemHookWorker
include Sidekiq::Worker
include DedicatedSidekiqQueue
def perform(hook_id, data, hook_name)
SystemHook.find(hook_id).execute(data, hook_name)
end
end