aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/version.rb
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-12-04 23:24:23 +0200
committerbogdanvlviv <bogdanvlviv@gmail.com>2019-02-08 13:27:30 +0000
commitdda9452314bb904a3e2c850bd23f118eb80e3356 (patch)
tree707c1e6908f12057f7059780828b4e681a440ee8 /activesupport/lib/active_support/version.rb
parentb67d5c6dedbf033515a96a95d24d085bf99a0d07 (diff)
downloadrails-dda9452314bb904a3e2c850bd23f118eb80e3356.tar.gz
rails-dda9452314bb904a3e2c850bd23f118eb80e3356.tar.bz2
rails-dda9452314bb904a3e2c850bd23f118eb80e3356.zip
Fix elapsed time calculations
I've found a few places in Rails code base where I think it makes sense to calculate elapsed time more precisely by using `Concurrent.monotonic_time`: - Fix calculation of elapsed time in `ActiveSupport::Cache::MemoryStore#prune` - Fix calculation of elapsed time in `ActiveRecord::ConnectionAdapters::ConnectionPool::Queue#wait_poll` - Fix calculation of elapsed time in `ActiveRecord::ConnectionAdapters::ConnectionPool#attempt_to_checkout_all_existing_connections` - Fix calculation of elapsed time in `ActiveRecord::ConnectionAdapters::Mysql2Adapter#explain` See https://docs.ruby-lang.org/en/2.5.0/Process.html#method-c-clock_gettime https://blog.dnsimple.com/2018/03/elapsed-time-with-ruby-the-right-way Related to 7c4542146f0dde962205e5a90839349631ae60fb
Diffstat (limited to 'activesupport/lib/active_support/version.rb')
0 files changed, 0 insertions, 0 deletions