mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 05:06:46 +10:00
10 lines
170 B
Ruby
10 lines
170 B
Ruby
class SystemHookWorker
|
|
include Sidekiq::Worker
|
|
|
|
sidekiq_options queue: :system_hook
|
|
|
|
def perform(hook_id, data)
|
|
SystemHook.find(hook_id).execute data
|
|
end
|
|
end
|