Merge branch 'add-retry-limit-project-webhook'
This commit is contained in:
commit
5566f277ca
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ class ProjectWebHookWorker
|
|||
include Sidekiq::Worker
|
||||
include DedicatedSidekiqQueue
|
||||
|
||||
sidekiq_options retry: 4
|
||||
|
||||
def perform(hook_id, data, hook_name)
|
||||
data = data.with_indifferent_access
|
||||
WebHook.find(hook_id).execute(data, hook_name)
|
||||
|
|
Loading…
Reference in a new issue