Commit 90241374 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'default_enable_lfk_fair_queueing' into 'master'

Use fair queueing for Loose Foreign Keys

See merge request gitlab-org/gitlab!81888
parents f2cc980d 9738b032
...@@ -54,7 +54,7 @@ module LooseForeignKeys ...@@ -54,7 +54,7 @@ module LooseForeignKeys
attr_reader :parent_table, :loose_foreign_key_definitions, :deleted_parent_records, :modification_tracker, :deleted_records_counter, :deleted_records_rescheduled_count, :deleted_records_incremented_count attr_reader :parent_table, :loose_foreign_key_definitions, :deleted_parent_records, :modification_tracker, :deleted_records_counter, :deleted_records_rescheduled_count, :deleted_records_incremented_count
def handle_over_limit def handle_over_limit
return if Feature.disabled?(:lfk_fair_queueing) return if Feature.disabled?(:lfk_fair_queueing, default_enabled: :yaml)
records_to_reschedule = [] records_to_reschedule = []
records_to_increment = [] records_to_increment = []
......
...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/351082 ...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/351082
milestone: '14.8' milestone: '14.8'
type: development type: development
group: group::sharding group: group::sharding
default_enabled: false default_enabled: true
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