lib/spaceship/client.rb in spaceship-0.36.2 vs lib/spaceship/client.rb in spaceship-0.37.0

- old
+ new

@@ -99,11 +99,11 @@ end def initialize options = { request: { - timeout: 300, - open_timeout: 300 + timeout: (ENV["SPACESHIP_TIMEOUT"] || 300).to_i, + open_timeout: (ENV["SPACESHIP_TIMEOUT"] || 300).to_i } } @cookie = HTTP::CookieJar.new @client = Faraday.new(self.class.hostname, options) do |c| c.response :json, content_type: /\bjson$/