No need to dup the payload for an instrumentation

This commit is contained in:
Akira Matsuda 2019-07-31 10:01:08 +09:00
parent 79520879e9
commit 23009e3e33
1 changed files with 1 additions and 1 deletions

View File

@ -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