mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge branch 'master' of https://github.com/cylence/docrails into cylence-master
This commit is contained in:
commit
8601f163a8
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ module ActiveSupport
|
|||
# cache.write(key, value, :expires_in => 1.minute) # Set a lower value for one entry
|
||||
#
|
||||
# Setting <tt>:race_condition_ttl</tt> is very useful in situations where a cache entry
|
||||
# is used very frequently unver heavy load. If a cache expires and due to heavy load
|
||||
# is used very frequently and is under heavy load. If a cache expires and due to heavy load
|
||||
# seven different processes will try to read data natively and then they all will try to
|
||||
# write to cache. To avoid that case the first process to find an expired cache entry will
|
||||
# bump the cache expiration time by the value set in <tt>:race_condition_ttl</tt>. Yes
|
||||
|
|
Loading…
Reference in a new issue