Welcome to mirror list, hosted at ThFree Co, Russian Federation.

project_service_worker.rb « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 75c4b8b36632e231a7bf363a3e44c923b1ff8158 (plain)
1
2
3
4
5
6
7
8
9
10
class ProjectServiceWorker
  include ApplicationWorker

  sidekiq_options dead: false

  def perform(hook_id, data)
    data = data.with_indifferent_access
    Service.find(hook_id).execute(data)
  end
end