Permalink
Browse files

capture ev. backtrace

  • Loading branch information...
itsderek23 committed Apr 25, 2016
1 parent d340320 commit 74935344e8e3b3dd59ee5d69b9495d0097cfb270
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/scout_apm/tracked_request.rb
@@ -58,7 +58,7 @@ def stop_layer
layer.record_stop_time!
# Do this here, rather than in the layer because we need this caller. Maybe able to move it?
if layer.total_exclusive_time > ScoutApm::SlowTransaction::BACKTRACE_THRESHOLD
if layer.total_exclusive_time > 0#ScoutApm::SlowTransaction::BACKTRACE_THRESHOLD
layer.store_backtrace(caller)
end

0 comments on commit 7493534

Please sign in to comment.