Commit 105c5422 authored by Dmitry Gruzd's avatar Dmitry Gruzd

Enable indexes_namespace_cache by default

parent 63124283
......@@ -156,7 +156,7 @@ module EE
return false unless elasticsearch_indexing?
return true unless elasticsearch_limit_indexing?
elasticsearch_limited_namespaces.exists?(namespace.id) unless ::Feature.enabled?(:elasticsearch_indexes_namespace_cache)
elasticsearch_limited_namespaces.exists?(namespace.id) unless ::Feature.enabled?(:elasticsearch_indexes_namespace_cache, default_enabled: true)
::Gitlab::Elastic::ElasticsearchEnabledCache.fetch(:namespace, namespace.id) do
elasticsearch_limited_namespaces.exists?(namespace.id)
......
---
title: Enable elasticsearch namespace enabled cache by default
merge_request: 41875
author:
type: performance
......@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41274
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/244847
group: group::global search
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