summaryrefslogtreecommitdiff
path: root/lib/feature.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/feature.rb')
-rw-r--r--lib/feature.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/feature.rb b/lib/feature.rb
index 60a5c03a839..dc7e8da8f35 100644
--- a/lib/feature.rb
+++ b/lib/feature.rb
@@ -134,11 +134,7 @@ class Feature
end
def l1_cache_backend
- if Gitlab::Utils.to_boolean(ENV['USE_THREAD_MEMORY_CACHE'])
- Gitlab::ThreadMemoryCache.cache_backend
- else
- Gitlab::ProcessMemoryCache.cache_backend
- end
+ Gitlab::ProcessMemoryCache.cache_backend
end
def l2_cache_backend