cartodb/config/initializers/new_relic.rb

7 lines
299 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +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