From 05b3b3799c28c6547593f53bfcfbb98a11bfc87d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 17 Sep 2019 21:12:27 +0000 Subject: (FallbackDownloaderArgs): reduce from 10 retries to 4 for both curl and wget; 10 seems like many too many. git-svn-id: svn://tug.org/texlive/trunk@52112 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLConfig.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Master/tlpkg/TeXLive/TLConfig.pm') diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm index 10bca165473..596302daa37 100644 --- a/Master/tlpkg/TeXLive/TLConfig.pm +++ b/Master/tlpkg/TeXLive/TLConfig.pm @@ -1,6 +1,6 @@ # $Id$ # TeXLive::TLConfig.pm - module exporting configuration values -# Copyright 2007-2018 Norbert Preining +# Copyright 2007-2019 Norbert Preining # This file is licensed under the GNU General Public License version 2 # or any later version. @@ -114,10 +114,10 @@ if ($^O =~ /^MSWin/i) { our @AcceptedFallbackDownloaders = qw/curl wget/; our %FallbackDownloaderProgram = ( 'wget' => 'wget', 'curl' => 'curl'); our %FallbackDownloaderArgs = ( - 'curl' => ['--user-agent', 'texlive/curl', '--retry', '10', '--retry-delay', '5', + 'curl' => ['--user-agent', 'texlive/curl', '--retry', '4', '--retry-delay', '5', '--fail', '--location', '--connect-timeout', "$NetworkTimeout", '--silent', '--output'], - 'wget' => ['--user-agent=texlive/wget', '--tries=10', + 'wget' => ['--user-agent=texlive/wget', '--tries=4', "--timeout=$NetworkTimeout", '-q', '-O'], ); # the way we package things on the web -- cgit v1.2.3