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

Merge branch 'hook_retries' into 'master'

Add retries to system hook worker

Closes #31109

See merge request !10801
parents 3fecb4be 354e37b8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,6 +2,8 @@ class SystemHookWorker
include Sidekiq::Worker
include DedicatedSidekiqQueue
 
sidekiq_options retry: 4
def perform(hook_id, data, hook_name)
SystemHook.find(hook_id).execute(data, hook_name)
end
Loading
Loading
---
title: Add retry to system hook worker
merge_request: 10801
author:
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