Commit 0dfa3514 authored by Luke Duncalfe's avatar Luke Duncalfe

Add comment about why worker cannot be idempotent

parent c9ce2122
# frozen_string_literal: true
class WebHookWorker # rubocop:disable Scalability/IdempotentWorker
# Worker cannot be idempotent: https://gitlab.com/gitlab-org/gitlab/-/issues/218559
# rubocop:disable Scalability/IdempotentWorker
class WebHookWorker
include ApplicationWorker
feature_category :integrations
......@@ -16,3 +18,4 @@ class WebHookWorker # rubocop:disable Scalability/IdempotentWorker
WebHookService.new(hook, data, hook_name).execute
end
end
# rubocop:enable Scalability/IdempotentWorker
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