class method
self.retrieve_pool_options
Ruby on Rails 7.0.10
Since v5.2.8.1 Private — implementation detail, not part of the public APISignature
self.retrieve_pool_options(options)
No documentation comment.
Parameters
-
optionsreq
Source
# File activesupport/lib/active_support/cache.rb, line 183
def retrieve_pool_options(options)
{}.tap do |pool_options|
pool_options[:size] = options.delete(:pool_size) if options[:pool_size]
pool_options[:timeout] = options.delete(:pool_timeout) if options[:pool_timeout]
end
end
Defined in activesupport/lib/active_support/cache.rb line 183
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store