Skip to content

Commit

Permalink
fix minor problem
Browse files Browse the repository at this point in the history
  • Loading branch information
JimGochee committed Jul 11, 2008
1 parent e876b58 commit 46d91ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/newrelic/agent/agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def start_reporting(force_enable=false)
sampler_config = config.fetch('transaction_tracer', {})

@use_transaction_sampler = sampler_config.fetch('enabled', false)
@record_sql = (sampler_config.fetch('record_sql') || 'obfuscated').intern
@record_sql = (sampler_config.fetch('record_sql', nil) || 'obfuscated').intern
@slowest_transaction_threshold = sampler_config.fetch('transaction_threshold', '2.0').to_f
@explain_threshold = sampler_config.fetch('explain_threshold', '0.5').to_f
@explain_enabled = sampler_config.fetch('explain_enabled', true)
Expand Down

0 comments on commit 46d91ab

Please sign in to comment.