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 Jan 20, 2021
1 parent d453cee commit 51756a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oauth/consumer.rb
Expand Up @@ -371,7 +371,7 @@ def create_http(_url = nil)
http_object.verify_depth = 5
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 51756a4

Please sign in to comment.