Skip to content

Commit

Permalink
Disable metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
robertomiranda committed Aug 30, 2024
1 parent 180253c commit 6b1ddff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/promenade/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Railtie < ::Rails::Railtie
end

initializer "promenade.configure_middlewares", after: :load_config_initializers do
pitchfork_stats_enabled = Promenade.configuration.pitchfork_stats_enabled
pitchfork_stats_enabled = false

if pitchfork_stats_enabled && defined?(::Raindrops)
require "promenade/raindrops/middleware"
Expand Down

0 comments on commit 6b1ddff

Please sign in to comment.