From ca20fa49586078581068cefa1df52ba33b0acd24 Mon Sep 17 00:00:00 2001 From: Cam Cope Date: Wed, 26 Mar 2014 01:31:05 -0400 Subject: added open_timeout to http connection --- lib/chef/http/basic_client.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/chef/http/basic_client.rb') 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 -- cgit v1.2.1