Merge branch 'hook_retries' into 'master'

Add retries to system hook worker

Closes #31109

See merge request !10801
This commit is contained in:
Douwe Maan 2017-04-19 23:33:46 +00:00
commit bfb635a4af
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,4 @@
---
title: Add retry to system hook worker
merge_request: 10801
author: