instance method
set_redis_capabilities
Ruby on Rails 6.1.7.10
Since v5.2.8.1 Last seen in v7.0.10 PrivateSignature
set_redis_capabilities()
No documentation comment.
Source
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 333
def set_redis_capabilities
case redis
when Redis::Distributed
@mget_capable = true
@mset_capable = false
else
@mget_capable = true
@mset_capable = true
end
end
Defined in activesupport/lib/active_support/cache/redis_cache_store.rb line 333
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::RedisCacheStore