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
This commit is contained in:
commit
87f7309c5d
|
@ -6,6 +6,7 @@ module WithPerformanceBar
|
|||
end
|
||||
|
||||
def peek_enabled?
|
||||
return true if Rails.env.development?
|
||||
return false unless Gitlab::PerformanceBar.enabled?(current_user)
|
||||
|
||||
if RequestStore.active?
|
||||
|
|
Loading…
Reference in New Issue