mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
7ddfa93ba5
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. |
||
---|---|---|
.. | ||
strategy | ||
file_store.rb | ||
mem_cache_store.rb | ||
memory_store.rb | ||
null_store.rb | ||
redis_cache_store.rb |