Commit 81bbe24d authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'enable_improved_mr_merged_at_queries_ff_by_default' into 'master'

Enable improved_mr_merged_at_queries FF by default

See merge request gitlab-org/gitlab!40838
parents 0a0557a3 a2696cb4
...@@ -12,7 +12,7 @@ module MergedAtFilter ...@@ -12,7 +12,7 @@ module MergedAtFilter
mr_metrics_scope = mr_metrics_scope.merged_before(merged_before) if merged_before.present? mr_metrics_scope = mr_metrics_scope.merged_before(merged_before) if merged_before.present?
scope = items.joins(:metrics).merge(mr_metrics_scope) scope = items.joins(:metrics).merge(mr_metrics_scope)
scope = target_project_id_filter_on_metrics(scope) if Feature.enabled?(:improved_mr_merged_at_queries) scope = target_project_id_filter_on_metrics(scope) if Feature.enabled?(:improved_mr_merged_at_queries, default_enabled: true)
scope scope
end end
# rubocop: enable CodeReuse/ActiveRecord # rubocop: enable CodeReuse/ActiveRecord
......
---
title: Improve Productivity Analytics and Merge Request Analytics database queries
merge_request: 40838
author:
type: performance
...@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/39329 ...@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/39329
rollout_issue_url: rollout_issue_url:
group: group::analytics group: group::analytics
type: development type: development
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