Commit 87f7309c authored by Robert Speicher's avatar Robert Speicher

Merge branch 'zj-perf-bar-default-dev' into 'master'

Enable the performance bar in dev environments

Closes #40989

See merge request gitlab-org/gitlab-ce!15913
parents f15082fb b6bd77f5
......@@ -6,6 +6,7 @@ module WithPerformanceBar
def peek_enabled?
return true if Rails.env.development?
return false unless Gitlab::PerformanceBar.enabled?(current_user)
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