instance method
cleanup
Ruby on Rails 7.1.6
Since v5.2.8.1Signature
cleanup(options = nil)
Cache Store API implementation.
Removes expired entries. Handled natively by Redis least-recently-/ least-frequently-used expiry, so manual cleanup is not supported.
Parameters
-
optionsopt = nil
Source
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 276
def cleanup(options = nil)
super
end
Defined in activesupport/lib/active_support/cache/redis_cache_store.rb line 276
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::RedisCacheStore