mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-16 16:16:43 +10:00
10 lines
177 B
Ruby
10 lines
177 B
Ruby
class ProjectServiceWorker
|
|
include Sidekiq::Worker
|
|
|
|
sidekiq_options queue: :project_web_hook
|
|
|
|
def perform(hook_id, data)
|
|
Service.find(hook_id).execute(data)
|
|
end
|
|
end
|