Commit 3c7f3632 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch '220754_enable_optimized_timebox_queries_ff' into 'master'

Enable optimized_timebox_queries by default

See merge request gitlab-org/gitlab!34043
parents 02f310f6 f61adbcc
......@@ -66,7 +66,7 @@ module Timebox
groups = groups.compact if groups.is_a? Array
groups = [] if groups.nil?
if Feature.enabled?(:optimized_timebox_queries)
if Feature.enabled?(:optimized_timebox_queries, default_enabled: true)
from_union([where(project_id: projects), where(group_id: groups)], remove_duplicates: false)
else
where(project_id: projects).or(where(group_id: groups))
......
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