Skip to content

Commit

Permalink
SRCH-2324 update newrelic_rpm (#771)
Browse files Browse the repository at this point in the history
- Bumped newrelic_rpm to 6.15.0 and ran `bundle update newrelic_rpm`

- Set backport_fast_active_record_connection_lookup to true.  As of
  6.5, newrelic_rpm defaults this to false, but recommends setting it to
  true unless that causes problems with other gems' monkey-patching of
  ActiveRecord.
  • Loading branch information
jmax-fearless committed Sep 2, 2021
1 parent cd10ad2 commit e921c3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ gem 'flickraw', '~> 0.9.9'
gem 'active_scaffold', '~> 3.5.0'
gem 'active_scaffold_export', git: 'https://github.com/naaano/active_scaffold_export'
gem "recaptcha", '~> 4.6.3', :require => "recaptcha/rails"
gem 'newrelic_rpm', '~> 5.0.0'
gem 'newrelic_rpm', '~> 6.15.0'
gem 'american_date', '~> 1.1.1'
gem 'sass', '~> 3.3.0'
gem 'sass-rails', '~> 5.0.7'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ GEM
mysql2 (0.4.10)
naught (1.1.0)
net-http-persistent (2.9.4)
newrelic_rpm (5.0.0.342)
newrelic_rpm (6.15.0)
nio4r (2.5.8)
nokogiri (1.11.7)
mini_portile2 (~> 2.5.0)
Expand Down Expand Up @@ -869,7 +869,7 @@ DEPENDENCIES
medusa!
mysql2 (~> 0.4.4)
net-http-persistent (~> 2.9.3)
newrelic_rpm (~> 5.0.0)
newrelic_rpm (~> 6.15.0)
nokogiri (~> 1.11.1)
omniauth-rails_csrf_protection (~> 0.1.2)
omniauth_login_dot_gov!
Expand Down
1 change: 1 addition & 0 deletions config/newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
apdex_t: <%= Rails.application.secrets.newrelic[:apdex_t] || 0.5 %>
capture_params: false
disable_curb: true
backport_fast_active_record_connection_lookup: true
transaction_tracer:
enabled: true
transaction_threshold: apdex_f
Expand Down

0 comments on commit e921c3a

Please sign in to comment.