diff options
author | Akira Matsuda <ronnie@dio.jp> | 2019-07-31 10:01:08 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2019-07-31 11:51:19 +0900 |
commit | 23009e3e334626460a95b58b180f34e30631f517 (patch) | |
tree | 69eb27c535e233435b118c03fe653863c490e1a5 /actionpack/lib | |
parent | 79520879e999e482e2084bf62daf468bf341d815 (diff) | |
download | rails-23009e3e334626460a95b58b180f34e30631f517.tar.gz rails-23009e3e334626460a95b58b180f34e30631f517.tar.bz2 rails-23009e3e334626460a95b58b180f34e30631f517.zip |
No need to dup the payload for an instrumentation
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/instrumentation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/instrumentation.rb b/actionpack/lib/action_controller/metal/instrumentation.rb index 6f7fc0d624..4c28a45c69 100644 --- a/actionpack/lib/action_controller/metal/instrumentation.rb +++ b/actionpack/lib/action_controller/metal/instrumentation.rb @@ -27,7 +27,7 @@ module ActionController path: request.fullpath } - ActiveSupport::Notifications.instrument("start_processing.action_controller", raw_payload.dup) + ActiveSupport::Notifications.instrument("start_processing.action_controller", raw_payload) ActiveSupport::Notifications.instrument("process_action.action_controller", raw_payload) do |payload| super.tap do |