Skip to content

Commit 59be6bc

Browse files
authored
Merge pull request #163 from smaeda-ks/smaeda-ks/increase-default-timeout
increase default timeout to 60 seconds
2 parents d453cee + 51756a4 commit 59be6bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/oauth/consumer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def create_http(_url = nil)
371371
http_object.verify_depth = 5
372372
end
373373

374-
http_object.read_timeout = http_object.open_timeout = @options[:timeout] || 30
374+
http_object.read_timeout = http_object.open_timeout = @options[:timeout] || 60
375375
http_object.open_timeout = @options[:open_timeout] if @options[:open_timeout]
376376
http_object.ssl_version = @options[:ssl_version] if @options[:ssl_version]
377377
http_object.set_debug_output(debug_output) if debug_output

0 commit comments

Comments
 (0)