Commit af7ccd1d authored by Kamil Trzciński's avatar Kamil Trzciński

Enable `trace_memory_allocations` by default

This enables `trace_memory_allocations`
by default
parent 59255eb7
---
title: Enable `trace_memory_allocations` by default
merge_request: 55369
author:
type: changed
...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/299524 ...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/299524
milestone: '13.9' milestone: '13.9'
type: development type: development
group: group::memory group: group::memory
default_enabled: false default_enabled: true
...@@ -25,7 +25,7 @@ module Gitlab ...@@ -25,7 +25,7 @@ module Gitlab
def self.ensure_feature_flag! def self.ensure_feature_flag!
return unless available? return unless available?
enabled = Feature.enabled?(:trace_memory_allocations) enabled = Feature.enabled?(:trace_memory_allocations, default_enabled: true)
return if enabled == Thread.trace_memory_allocations return if enabled == Thread.trace_memory_allocations
MUTEX.synchronize do MUTEX.synchronize do
......
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