debian-mirror-gitlab/app/workers/system_hook_push_worker.rb

9 lines
191 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
class SystemHookPushWorker
include Sidekiq::Worker
include DedicatedSidekiqQueue
def perform(push_data, hook_id)
SystemHooksService.new.execute_hooks(push_data, hook_id)
end
end