Skip to content

Commit

Permalink
Merge pull request #163 from smaeda-ks/smaeda-ks/increase-default-tim…
Browse files Browse the repository at this point in the history
…eout

increase default timeout to 60 seconds
  • Loading branch information
pboling committed Jan 25, 2021
2 parents d453cee + 51756a4 commit 59be6bc
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 59be6bc

Please sign in to comment.