Commit 858e48d3 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'id-remove-load_balancing_for_update_all_mirrors_worker-ff' into 'master'

Remove load_balancing_for_update_all_mirrors_worker FF

See merge request gitlab-org/gitlab!76336
parents b51e7347 30429048
---
name: load_balancing_for_update_all_mirrors_worker
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64526
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/334162
milestone: '14.1'
type: development
group: group::source code
default_enabled: true
......@@ -6,7 +6,7 @@ class UpdateAllMirrorsWorker # rubocop:disable Scalability/IdempotentWorker
include CronjobQueue
feature_category :source_code_management
data_consistency :sticky, feature_flag: :load_balancing_for_update_all_mirrors_worker
data_consistency :sticky
LEASE_TIMEOUT = 5.minutes
SCHEDULE_WAIT_TIMEOUT = 4.minutes
......
......@@ -11,10 +11,7 @@ RSpec.describe UpdateAllMirrorsWorker do
stub_exclusive_lease
end
it_behaves_like 'worker with data consistency',
described_class,
feature_flag: :load_balancing_for_update_all_mirrors_worker,
data_consistency: :sticky
it_behaves_like 'worker with data consistency', described_class, data_consistency: :sticky
describe '#perform' do
it 'does nothing if the database is read-only' do
......
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