lib/berkshelf/api_client/connection.rb in berkshelf-api-client-1.2.0 vs lib/berkshelf/api_client/connection.rb in berkshelf-api-client-1.2.1

- old
+ new

@@ -25,10 +25,10 @@ # how many retries to perform before giving up # @option options [Float] :retry_interval (0.5) # how long to wait (in seconds) between each retry def initialize(url, options = {}) options = options.reverse_merge(retries: 3, retry_interval: 0.5, - open_timeout: 3, timeout: 30) + open_timeout: 30, timeout: 30) @url = url @retries = options.delete(:retries) @retry_interval = options.delete(:retry_interval) options[:builder] ||= Faraday::RackBuilder.new do |b|