cartodb-4.29/config/initializers/new_relic.rb

7 lines
299 B
Ruby
Raw Permalink 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