Skip to content

Commit

Permalink
Do not warn about write_timeout when set using the default `timeout…
Browse files Browse the repository at this point in the history
…` option
  • Loading branch information
springerigor committed Feb 19, 2019
1 parent b36742b commit 1b35b88
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/httparty/connection_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ def connection

if RUBY_VERSION >= "2.6.0"
http.write_timeout = options[:timeout]
else
Kernel.warn("Warning: option :write_timeout requires Ruby version 2.6.0 or later")
end
end

Expand Down

0 comments on commit 1b35b88

Please sign in to comment.