Use RedisStoreProxy (not RedisProxy) for Redis::Store

This commit is contained in:
Gonzalo Rodriguez 2018-06-29 16:48:40 -03:00
parent 673cf98157
commit e295ede874
No known key found for this signature in database
GPG key ID: 5DB8B81B049B8AB1

View file

@ -3,7 +3,7 @@
module Rack
class Attack
module StoreProxy
PROXIES = [DalliProxy, MemCacheProxy, RedisProxy, RedisStoreProxy, RedisCacheStoreProxy].freeze
PROXIES = [DalliProxy, MemCacheProxy, RedisStoreProxy, RedisProxy, RedisCacheStoreProxy].freeze
ACTIVE_SUPPORT_WRAPPER_CLASSES = Set.new(['ActiveSupport::Cache::MemCacheStore', 'ActiveSupport::Cache::RedisStore', 'ActiveSupport::Cache::RedisCacheStore']).freeze
ACTIVE_SUPPORT_CLIENTS = Set.new(['Redis::Store', 'Dalli::Client', 'MemCache']).freeze