lib/fido_metadata.rb in fido_metadata-0.3.0 vs lib/fido_metadata.rb in fido_metadata-0.4.0
- old
+ new
@@ -3,17 +3,22 @@
require "fido_metadata/store"
require "fido_metadata/version"
module FidoMetadata
def self.configuration
- @configuration ||= Configuration.new
+ @configuration ||= begin
+ c = Configuration.new
+ c.race_condition_ttl = 1
+ c
+ end
end
def self.configure
yield(configuration)
end
class Configuration
attr_accessor :metadata_token
attr_accessor :cache_backend
+ attr_accessor :race_condition_ttl
end
end