Skip to content

Commit 22b000b

Browse files
author
Nicholas Stuart
committed
Update CHANGELOG.md
1 parent b9f61c1 commit 22b000b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

activesupport/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
* Add `raise_errors` to `redis_cache_store`, defaults to false
2+
3+
Previously if an `::Redis::BaseError` was throw while performing a `Rails.cache` operation,
4+
it would result in cache-miss like behavior. This allows cache implementors who want to handle
5+
these connection issues on their own have an option to do so.
6+
7+
```ruby
8+
cache_servers = %w(redis://cache-01:6379/0 redis://cache-02:6379/0)
9+
config.cache_store = :redis_cache_store, { url: cache_servers,
10+
raise_errors: true # Defaults to false. Raise Redis::BaseError instead of dropping them.
11+
}
12+
```
13+
114
* Allow entirely opting out of deprecation warnings.
215

316
Previously if you did `app.config.active_support.deprecation = :silence`, some work would

0 commit comments

Comments
 (0)