cartodb-4.42/config/initializers/new_relic.rb

7 lines
299 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
# 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