diff options
| author | James Turnbull <james@lovedthanlost.net> | 2008-04-19 21:51:27 +1000 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2008-04-19 21:51:27 +1000 |
| commit | a35450b147c8594d5bcae4facc938fe8143218f7 (patch) | |
| tree | b52270ea257688a96e5f1e39650f2d9a14539f94 /lib/puppet/network/http_pool.rb | |
| parent | 57fd88be52d07cf1fc09bd213ce096100c95c502 (diff) | |
| download | puppet-a35450b147c8594d5bcae4facc938fe8143218f7.tar.gz puppet-a35450b147c8594d5bcae4facc938fe8143218f7.tar.xz puppet-a35450b147c8594d5bcae4facc938fe8143218f7.zip | |
Pushed patch for #1176 - configtimeout fix
Diffstat (limited to 'lib/puppet/network/http_pool.rb')
| -rw-r--r-- | lib/puppet/network/http_pool.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/puppet/network/http_pool.rb b/lib/puppet/network/http_pool.rb index 9d37f2eeb..1227f78dc 100644 --- a/lib/puppet/network/http_pool.rb +++ b/lib/puppet/network/http_pool.rb @@ -88,8 +88,9 @@ module Puppet::Network::HttpPool class << http; attr_accessor :ca_file; end http.use_ssl = true - http.read_timeout = 120 - http.open_timeout = 120 + # Use configured timeout (#1176) + http.read_timeout = Puppet[:configtimeout] + http.open_timeout = Puppet[:configtimeout] # JJM Configurable fix for #896. if Puppet[:http_enable_post_connection_check] http.enable_post_connection_check = true |
