From 38da6249f0449204e0806f3142c0342ad2565344 Mon Sep 17 00:00:00 2001 From: kennyj Date: Sun, 30 Oct 2011 19:18:23 +0900 Subject: fix a document for :compress_threshold. DEFAULT_COMPRESS_LIMIT is 16K. --- activesupport/lib/active_support/cache.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/cache.rb') 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 # :compress => true in the initializer or as an option to +fetch+ # or +write+. To specify the threshold at which to compress values, set the - # :compress_threshold option. The default threshold is 32K. + # :compress_threshold option. The default threshold is 16K. class Store cattr_accessor :logger, :instance_writer => true -- cgit v1.2.3