texlive[52104] Master/tlpkg/TeXLive/TLConfig.pm: curl downloader: add

commits+preining at tug.org commits+preining at tug.org
Mon Sep 16 16:04:10 CEST 2019


Revision: 52104
          http://tug.org/svn/texlive?view=revision&revision=52104
Author:   preining
Date:     2019-09-16 16:04:10 +0200 (Mon, 16 Sep 2019)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/Master/tlpkg/TeXLive/TLConfig.pm

Modified: trunk/Master/tlpkg/TeXLive/TLConfig.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLConfig.pm	2019-09-15 23:53:45 UTC (rev 52103)
+++ trunk/Master/tlpkg/TeXLive/TLConfig.pm	2019-09-16 14:04:10 UTC (rev 52104)
@@ -114,7 +114,7 @@
 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',



More information about the tex-live-commits mailing list