lib/pupa/processor/client.rb in pupa-0.1.2 vs lib/pupa/processor/client.rb in pupa-0.1.3
- old
+ new
@@ -57,10 +57,10 @@
if cache_dir
connection.response :caching do
address = cache_dir[%r{\Amemcached://(.+)\z}, 1]
if address
- ActiveSupport::Cache::MemCacheStore.new(address, expires_in: expires_in, value_max_bytes: 1048576)
+ ActiveSupport::Cache::MemCacheStore.new(address, expires_in: expires_in, value_max_bytes: value_max_bytes)
else
ActiveSupport::Cache::FileStore.new(cache_dir, expires_in: expires_in)
end
end
end