Commit b6bd77f5 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Enable the performance bar in dev environments

parent 097b0678
......@@ -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?
......
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