cartodb-4.42/config/initializers/new_relic.rb
2024-04-06 05:25:13 +00:00

7 lines
299 B
Ruby

# Ensure the agent is started using Unicorn
# This is needed when using Unicorn and preload_app is not set to true.
# See http://support.newrelic.com/kb/troubleshooting/unicorn-no-data
# if Rails.env.production? || Rails.env.staging?
# ::NewRelic::Agent.after_fork(:force_reconnect => true)
# end