summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLConfig.pm
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2019-09-16 14:04:10 +0000
committerNorbert Preining <preining@logic.at>2019-09-16 14:04:10 +0000
commit1694831a947597fa68771c5a7dbf0a0d3ade554c (patch)
treedfa926836567ef3f35bb2c650ce783d5fb25dd6a /Master/tlpkg/TeXLive/TLConfig.pm
parentee2bad21b58920f1103866e2d2101235f0f4ce5b (diff)
curl downloader: add --retry-delay 5 to arguments
We are using --retry 10 but with defaults settins curl starts waiting for 1sec and doubles this (up to a max of 10min) for each retry. With 10 retries that we use this gets excessively long. git-svn-id: svn://tug.org/texlive/trunk@52104 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLConfig.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLConfig.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm
index 4059283b82c..10bca165473 100644
--- a/Master/tlpkg/TeXLive/TLConfig.pm
+++ b/Master/tlpkg/TeXLive/TLConfig.pm
@@ -114,7 +114,7 @@ if ($^O =~ /^MSWin/i) {
our @AcceptedFallbackDownloaders = qw/curl wget/;
our %FallbackDownloaderProgram = ( 'wget' => 'wget', 'curl' => 'curl');
our %FallbackDownloaderArgs = (
- 'curl' => ['--user-agent', 'texlive/curl', '--retry', '10',
+ 'curl' => ['--user-agent', 'texlive/curl', '--retry', '10', '--retry-delay', '5',
'--fail', '--location',
'--connect-timeout', "$NetworkTimeout", '--silent', '--output'],
'wget' => ['--user-agent=texlive/wget', '--tries=10',