diff options
author | Dan Fandrich <danf@mageia.org> | 2025-04-23 17:01:00 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2025-04-23 17:02:24 -0700 |
commit | 20a7380942070a33d974a5c4afcb1dd643520860 (patch) | |
tree | b297224a8501761c0aaf91d2f73cbdcfcbac8534 /modules/mga-mirrors/files | |
parent | d904370553f208098564ae70860050dc0c4ab8dd (diff) | |
download | puppet-master.tar puppet-master.tar.gz puppet-master.tar.bz2 puppet-master.tar.xz puppet-master.zip |
When servers are bogged down it can take longer than 9 seconds to
connect.
Diffstat (limited to 'modules/mga-mirrors/files')
-rwxr-xr-x | modules/mga-mirrors/files/check_mirrors_status | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mga-mirrors/files/check_mirrors_status b/modules/mga-mirrors/files/check_mirrors_status index 2d5fc7d4..9c00ac8d 100755 --- a/modules/mga-mirrors/files/check_mirrors_status +++ b/modules/mga-mirrors/files/check_mirrors_status @@ -71,8 +71,8 @@ def fetch_url(url, redirect_limit = 3) else uri = URI.parse(url) http = Net::HTTP.new(uri.host, uri.port) - http.open_timeout = 9 - http.read_timeout = 9 + http.open_timeout = 30 + http.read_timeout = 30 if uri.scheme == 'https' then http.use_ssl = true end |