diff options
author | Jeremy Daer <jeremydaer@gmail.com> | 2019-04-16 18:48:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-16 18:48:31 -0700 |
commit | 7217e2d6b0f0986914e076774d1c5920e8397211 (patch) | |
tree | c90744a76b8fb71373a2dd2eef89c92b00d59b6b /activesupport/lib/active_support/notifications/fanout.rb | |
parent | ae3cc9daa94ea3db3c1d9e4ddcac508d88caa11e (diff) | |
parent | 63790504699ff08088b0f7422eefa6514e3bfc30 (diff) | |
download | rails-7217e2d6b0f0986914e076774d1c5920e8397211.tar.gz rails-7217e2d6b0f0986914e076774d1c5920e8397211.tar.bz2 rails-7217e2d6b0f0986914e076774d1c5920e8397211.zip |
Merge pull request #35984 from vishaltelangre/asn-misc-fixes
Various fixes in ActiveSupport::Notifications::Event
Diffstat (limited to 'activesupport/lib/active_support/notifications/fanout.rb')
-rw-r--r-- | activesupport/lib/active_support/notifications/fanout.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/notifications/fanout.rb b/activesupport/lib/active_support/notifications/fanout.rb index c506b35b1e..8812b67f63 100644 --- a/activesupport/lib/active_support/notifications/fanout.rb +++ b/activesupport/lib/active_support/notifications/fanout.rb @@ -180,13 +180,13 @@ module ActiveSupport def start(name, id, payload) timestack = Thread.current[:_timestack] ||= [] - timestack.push Time.now + timestack.push Concurrent.monotonic_time end def finish(name, id, payload) timestack = Thread.current[:_timestack] started = timestack.pop - @delegate.call(name, started, Time.now, id, payload) + @delegate.call(name, started, Concurrent.monotonic_time, id, payload) end end |