Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit f5703c9

Browse files
committed
disable newrelic in staging env
1 parent b19d624 commit f5703c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/initializers/newrelic.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
NewRelic::Agent.after_fork(:force_reconnect => true) if defined? Unicorn
1+
NewRelic::Agent.after_fork(:force_reconnect => true) if Rails.env.production?
22

0 commit comments

Comments
 (0)