method

cleanup

rails latest stable - Class: ActiveSupport::Cache::MemoryStore
cleanup(options = nil)
public

Preemptively iterates through all stored keys and removes the ones which have expired.