rack-attack/lib/rack/attack/store_proxy
Cristian Greco dd6c09e581 Failsafe on Redis error replies in RedisCacheStoreProxy.
RedisCacheStoreProxy will blow up when RedisCacheStore raises a
CommandError exception. In fact, by default the proxied store only
handles BaseConnectionError exceptions, but will let bubble up any other
type of exception from the underlying client.

This pull request uses the same approach from RedisProxy, where store
operations are wrapped in a `rescuing` block that rescues and ignores
BaseError exceptions (the most generic exception class that can be
raised by the Redis client).
2019-07-14 01:37:59 +01:00
..
active_support_redis_store_proxy.rb Remove unwrapping 2018-09-30 13:32:08 -03:00
dalli_proxy.rb style: enable Style/Semicolon rubocop 2019-03-01 22:25:27 -03:00
mem_cache_store_proxy.rb Add a proxy to deal with ActiveSupport::Cache::MemCacheStore 2018-09-03 12:00:02 +01:00
redis_cache_store_proxy.rb Failsafe on Redis error replies in RedisCacheStoreProxy. 2019-07-14 01:37:59 +01:00
redis_proxy.rb refactor: avoid rescuing pattern repetition 2019-02-28 22:51:57 -03:00
redis_store_proxy.rb refactor: avoid rescuing pattern repetition 2019-02-28 22:51:57 -03:00