1
0
Fork 0
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:
Aditya Sanghi 2010-11-29 21:36:43 +05:30
commit 8601f163a8

View file

@ -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