Skip to content
Snippets Groups Projects
Commit 356a797b authored by Douwe Maan's avatar Douwe Maan Committed by Lin Jen-Shin
Browse files

Merge branch 'hook_retries' into 'master'

Add retries to system hook worker

Closes #31109

See merge request !10801
parent 1845f9e5
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