Skip to content

Commit 8cb62c9

Browse files
author
Shaun Carlson
committed
explicitly permit cache options
1 parent ff8f75d commit 8cb62c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/active_remote/cached.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def self.cache(cache_provider = nil)
2525
end
2626

2727
def self.cache_options
28-
::ActiveRemote::Cached.default_options.except(:cache_error_proc, :handle_cache_error)
28+
::ActiveRemote::Cached.default_options.slice(:expires_in, :namespace, :race_condition_ttl)
2929
end
3030

3131
def self.default_options(options = nil)

0 commit comments

Comments
 (0)