Skip to content
Snippets Groups Projects
Commit 6c10e38e authored by Douwe Maan's avatar Douwe Maan
Browse files

Merge branch 'add-retry-limit-project-webhook'

Former-commit-id: 5566f277
parents 3bc440eb 33b3d4fb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment