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.2_rc92~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0780b8b762637b2d09c62b5e103596e2b674971;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 39ea548b9..6a7a21263 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}\""