Commit 3ecd6e5a authored by Etienne Baqué's avatar Etienne Baqué

Merge branch '324376-web-hook-worker-load-balancing' into 'master'

Enable load balancing for WebHookWorker [RUN ALL RSPEC] [RUN AS-IF-FOSS]

See merge request gitlab-org/gitlab!62075
parents ef2af657 b039ba58
......@@ -8,6 +8,7 @@ class WebHookWorker
feature_category :integrations
worker_has_external_dependencies!
loggable_arguments 2
data_consistency :delayed, feature_flag: :load_balancing_for_web_hook_worker
sidekiq_options retry: 4, dead: false
......
---
name: load_balancing_for_web_hook_worker
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62075
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/331365
milestone: '14.0'
type: development
group: group::memory
default_enabled: false
......@@ -14,5 +14,10 @@ RSpec.describe WebHookWorker do
subject.perform(project_hook.id, data, hook_name)
end
it_behaves_like 'worker with data consistency',
described_class,
feature_flag: :load_balancing_for_web_hook_worker,
data_consistency: :delayed
end
end
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