BigW Consortium Gitlab

Commit decf0fef by Jose Torres

Add retry limit and set it at four

parent b7170277
class ProjectWebHookWorker class ProjectWebHookWorker
include Sidekiq::Worker include Sidekiq::Worker
sidekiq_options queue: :project_web_hook sidekiq_options queue: :project_web_hook, retry: 4
def perform(hook_id, data, hook_name) def perform(hook_id, data, hook_name)
data = data.with_indifferent_access data = data.with_indifferent_access
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment