From: Zac Medico Date: Sun, 10 Oct 2010 21:08:59 +0000 (-0700) Subject: FETCHCOMMAND: Reduce wget retries from 5 to 3. X-Git-Tag: v2.1.9.15~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f6ec0e9174be04faef1a906da6b2e17aebdcd7e0;p=portage.git FETCHCOMMAND: Reduce wget retries from 5 to 3. If 3 tries are needed then the server is likely to be very flaky. If the user has a flaky connection then they can manually adjust FETCHCOMMAND to compensate. Thanks to Christian Ruppert for the suggestion. --- diff --git a/cnf/make.globals b/cnf/make.globals index 04100e0b8..307f9897e 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -37,8 +37,8 @@ RPMDIR=/usr/portage/rpm PORTAGE_TMPDIR=/var/tmp # Fetching command (5 tries, passive ftp for firewall compatibility) -FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" -RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" FETCHCOMMAND_RSYNC="rsync -avP \"\${URI}\" \"\${DISTDIR}/\${FILE}\"" RESUMECOMMAND_RSYNC="rsync -avP \"\${URI}\" \"\${DISTDIR}/\${FILE}\""