lib/ldclient-rb/integrations/redis.rb in ldclient-rb-5.5.0 vs lib/ldclient-rb/integrations/redis.rb in ldclient-rb-5.5.1
- old
+ new
@@ -40,10 +40,10 @@
# @option opts [String] :redis_url (default_redis_url) URL of the Redis instance (shortcut for omitting `redis_opts`)
# @option opts [Hash] :redis_opts options to pass to the Redis constructor (if you want to specify more than just `redis_url`)
# @option opts [String] :prefix (default_prefix) namespace prefix to add to all hash keys used by LaunchDarkly
# @option opts [Logger] :logger a `Logger` instance; defaults to `Config.default_logger`
# @option opts [Integer] :max_connections size of the Redis connection pool
- # @option opts [Integer] :expiration_seconds (15) expiration time for the in-memory cache, in seconds; 0 for no local caching
+ # @option opts [Integer] :expiration (15) expiration time for the in-memory cache, in seconds; 0 for no local caching
# @option opts [Integer] :capacity (1000) maximum number of items in the cache
# @option opts [Object] :pool custom connection pool, if desired
# @return [LaunchDarkly::Interfaces::FeatureStore] a feature store object
#
def self.new_feature_store(opts)