summaryrefslogtreecommitdiff
path: root/lib/chef/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/http.rb')
-rw-r--r--lib/chef/http.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/http.rb b/lib/chef/http.rb
index f9845c2460..14dd8b93a5 100644
--- a/lib/chef/http.rb
+++ b/lib/chef/http.rb
@@ -157,7 +157,6 @@ class Chef
response = e.response
if response.kind_of?(Net::HTTPNotAcceptable) && version_retries - http_attempts > 0
Chef::Log.debug("Negotiating protocol version with #{url}, retry #{http_attempts}/#{version_retries}")
- sleep(http_retry_delay)
retry
else
raise
@@ -197,7 +196,6 @@ class Chef
response = e.response
if response.kind_of?(Net::HTTPNotAcceptable) && version_retries - http_attempts > 0
Chef::Log.debug("Negotiating protocol version with #{url}, retry #{http_attempts}/#{version_retries}")
- sleep(http_retry_delay)
retry
else
raise
@@ -254,7 +252,6 @@ class Chef
response = e.response
if response.kind_of?(Net::HTTPNotAcceptable) && version_retries - http_attempts > 0
Chef::Log.debug("Negotiating protocol version with #{url}, retry #{http_attempts}/#{version_retries}")
- sleep(http_retry_delay)
retry
else
raise