Skip to content

Commit

Permalink
increase default timeout to 60 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
smaeda-ks committed Dec 10, 2019
1 parent 4cb652e commit c2c9d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oauth/consumer.rb
Expand Up @@ -338,7 +338,7 @@ def create_http(_url = nil)
http_object.verify_mode = OpenSSL::SSL::VERIFY_NONE
end

http_object.read_timeout = http_object.open_timeout = @options[:timeout] || 30
http_object.read_timeout = http_object.open_timeout = @options[:timeout] || 60
http_object.open_timeout = @options[:open_timeout] if @options[:open_timeout]
http_object.ssl_version = @options[:ssl_version] if @options[:ssl_version]
http_object.set_debug_output(debug_output) if debug_output
Expand Down

0 comments on commit c2c9d72

Please sign in to comment.