mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-26 09:35:49 +00:00
If connection pooling is used with AS::Cache::MemCacheStore, unwrap_active_support_stores wouldn't return the underlying dalli instance(s), and so Rack::Attack.store would be the bare unproxied MemCacheStore instance. Calling write then increment would silently fail because :raw wasn't used. With this commit, we no longer try to unwrap AS::Cache::MemCacheStore instances. |
||
|---|---|---|
| .. | ||
| active_support_dalli_store_spec.rb | ||
| active_support_mem_cache_store_pooled_spec.rb | ||
| active_support_mem_cache_store_spec.rb | ||
| active_support_memory_store_spec.rb | ||
| active_support_redis_cache_store_pooled_spec.rb | ||
| active_support_redis_cache_store_spec.rb | ||
| active_support_redis_store_spec.rb | ||
| connection_pool_dalli_client_spec.rb | ||
| dalli_client_spec.rb | ||
| redis_spec.rb | ||
| redis_store_spec.rb | ||