rack-attack/lib/rack
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
..
attack Failsafe on Redis error replies in RedisCacheStoreProxy. 2019-07-14 01:37:59 +01:00
attack.rb style: enable Style/Semicolon rubocop 2019-03-01 22:25:27 -03:00