Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/peek
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-06 18:10:05 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-06 18:10:05 +0300
commit07e0fae35c51cff088d6b2cbc6d844f421e16617 (patch)
treed0da7fe202abac1b1919673d1b40bb4597da8dac /lib/peek
parent14b5bf2629cf6cd77fe9bb6108d4a6dc0963f6c1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/peek')
-rw-r--r--lib/peek/views/active_record.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/peek/views/active_record.rb b/lib/peek/views/active_record.rb
index 6d2c9a86c62..a3fe206c86f 100644
--- a/lib/peek/views/active_record.rb
+++ b/lib/peek/views/active_record.rb
@@ -81,7 +81,7 @@ module Peek
end
def format_call_details(call)
- if Feature.enabled?(:multiple_database_metrics, default_enabled: :yaml)
+ if ENV['GITLAB_MULTIPLE_DATABASE_METRICS']
super
else
super.except(:db_config_name)