File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change
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
+
1
14
* Allow entirely opting out of deprecation warnings.
2
15
3
16
Previously if you did ` app.config.active_support.deprecation = :silence` , some work would
You can’t perform that action at this time.
0 commit comments