Skip to content

Commit e5a6f71

Browse files
committed
Enable GC Profiler for New Relic
1 parent 8928ea2 commit e5a6f71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/initializers/new_relic.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
if Rails.env.production?
22
::NewRelic::Agent.manual_start()
33
::NewRelic::Agent.after_fork(force_reconnect: true)
4+
5+
GC::Profiler.enable
46
end

0 commit comments

Comments
 (0)