Commit 356a797b authored by Douwe Maan's avatar Douwe Maan Committed by Lin Jen-Shin

Merge branch 'hook_retries' into 'master'

Add retries to system hook worker

Closes #31109

See merge request !10801
parent 1845f9e5
......@@ -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
......
---
title: Add retry to system hook worker
merge_request: 10801
author:
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