diff --git a/app/workers/post_receive.rb b/app/workers/post_receive.rb index 9a4fbea53a157f158e5eed4df6f4c321fe22fe30..c75e1a8a170707809fc28825ddee90501f1e51ca 100644 --- a/app/workers/post_receive.rb +++ b/app/workers/post_receive.rb @@ -5,7 +5,7 @@ class PostReceive idempotent! deduplicate :none - data_consistency :always + data_consistency :sticky, feature_flag: :load_balanacing_for_sticky_post_receive_worker sidekiq_options retry: 3 include Gitlab::Experiment::Dsl diff --git a/config/feature_flags/worker/load_balanacing_for_sticky_post_receive_worker.yml b/config/feature_flags/worker/load_balanacing_for_sticky_post_receive_worker.yml new file mode 100644 index 0000000000000000000000000000000000000000..62a470e4305c759a57d1e823c643cf03a265550d --- /dev/null +++ b/config/feature_flags/worker/load_balanacing_for_sticky_post_receive_worker.yml @@ -0,0 +1,9 @@ +--- +name: load_balanacing_for_sticky_post_receive_worker +feature_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/402254 +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/167317 +rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/495040 +milestone: '17.5' +group: group::source code +type: worker +default_enabled: false