diff options
author | Cam Cope <ccope@brightcove.com> | 2014-03-26 01:31:05 -0400 |
---|---|---|
committer | Bryan McLellan <btm@getchef.com> | 2014-06-05 12:53:08 -0700 |
commit | ca20fa49586078581068cefa1df52ba33b0acd24 (patch) | |
tree | 970a49b597b958fb5c7a38a7e4cd6f7e6aee52e7 /lib/chef/http | |
parent | ff690278cd0e6bf5d552a59611be0a6a258128f2 (diff) | |
download | chef-ca20fa49586078581068cefa1df52ba33b0acd24.tar.gz |
added open_timeout to http connection
Diffstat (limited to 'lib/chef/http')
-rw-r--r-- | lib/chef/http/basic_client.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/http/basic_client.rb b/lib/chef/http/basic_client.rb index e800112dbe..d26b675fbf 100644 --- a/lib/chef/http/basic_client.rb +++ b/lib/chef/http/basic_client.rb @@ -98,6 +98,7 @@ class Chef end http_client.read_timeout = config[:rest_timeout] + http_client.open_timeout = config[:rest_timeout] http_client end |