BigW Consortium Gitlab

project_service_worker.rb 236 Bytes
Newer Older
1 2
class ProjectServiceWorker
  include Sidekiq::Worker
3
  include DedicatedSidekiqQueue
4

5 6
  sidekiq_options dead: false

7
  def perform(hook_id, data)
8
    data = data.with_indifferent_access
9 10 11
    Service.find(hook_id).execute(data)
  end
end