[tlu] First Time in a Long Time

Norbert Preining norbert at preining.info
Mon Sep 16 16:05:16 CEST 2019


On Mon, 16 Sep 2019, Norbert Preining wrote:
> I guess we need to reduce the --retry for curl to 3?

Just commited this one:

commit 1694831a947597fa68771c5a7dbf0a0d3ade554c (HEAD -> trunk, origin/trunk, origin/HEAD)
Author: Norbert Preining <preining at logic.at>
Date:   Mon Sep 16 14:04:10 2019 +0000

    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

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',


Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tlu mailing list