diff options
author | kennyj <kennyj@gmail.com> | 2011-10-30 19:18:23 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2011-10-30 19:18:23 +0900 |
commit | 38da6249f0449204e0806f3142c0342ad2565344 (patch) | |
tree | 9f43cae3fb8f04c5943583315daa507c2dbfba5c | |
parent | c6b933faa91107a8213f0e8e151f8f1a72f55cdc (diff) | |
download | rails-38da6249f0449204e0806f3142c0342ad2565344.tar.gz rails-38da6249f0449204e0806f3142c0342ad2565344.tar.bz2 rails-38da6249f0449204e0806f3142c0342ad2565344.zip |
fix a document for :compress_threshold. DEFAULT_COMPRESS_LIMIT is 16K.
-rw-r--r-- | activesupport/lib/active_support/cache.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb index 8b45efaf2a..6535cc1eb5 100644 --- a/activesupport/lib/active_support/cache.rb +++ b/activesupport/lib/active_support/cache.rb @@ -139,7 +139,7 @@ module ActiveSupport # large enough to warrant compression. To turn on compression either pass # <tt>:compress => true</tt> in the initializer or as an option to +fetch+ # or +write+. To specify the threshold at which to compress values, set the - # <tt>:compress_threshold</tt> option. The default threshold is 32K. + # <tt>:compress_threshold</tt> option. The default threshold is 16K. class Store cattr_accessor :logger, :instance_writer => true |