instance method set_redis_capabilities

Ruby on Rails 7.0.10

Since v5.2.8.1 Last seen in v7.0.10 Private

Available in: v5.2.8.1 v6.0.6 v6.1.7.10 v7.0.10

Signature

set_redis_capabilities()

No documentation comment.

Source
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 315
        def set_redis_capabilities
          redis.with do |c|
            case c
            when Redis::Distributed
              @mget_capable = true
              @mset_capable = false
            else
              @mget_capable = true
              @mset_capable = true
            end
          end
        end

Defined in activesupport/lib/active_support/cache/redis_cache_store.rb line 315 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::RedisCacheStore

Type at least 2 characters to search.

↑↓ navigate · open · esc close