1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/cache
Jean Boussier 7ddfa93ba5 Stop using Concurrent.monotonic_time
Unless you are on a Ruby older than 2.3 (or some very old JRuby)
`Concurrent.monotonic_time` is just `Process.clock_gettime(Process::CLOCK_MONOTONIC)`.
So might as well skip the extra method call, and more importantly
it allows in many cases to pass the scale as second argument and save some
floating point multiplication.
2021-10-21 09:31:25 +02:00
..
strategy Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
file_store.rb Merge pull request #42626 from Shopify/as-file-store-remove-local-cache 2021-07-28 17:06:56 +02:00
mem_cache_store.rb Disable Dalli compression on the protocal level 2021-10-14 17:49:49 +00:00
memory_store.rb Stop using Concurrent.monotonic_time 2021-10-21 09:31:25 +02:00
null_store.rb Refactor local cache to avoid serializing entries repeatedly 2021-07-20 12:59:08 +02:00
redis_cache_store.rb Revert the raise_errors param and Removed rescue block from ActiveSupport::Cache::RedisCacheStore#handle_exception 2021-08-24 09:33:08 -07:00