From a0780b8b762637b2d09c62b5e103596e2b674971 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 10 Oct 2010 14:08:59 -0700 Subject: 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. --- cnf/make.globals | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cnf') 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}\"" -- cgit v1.2.3-1-g7c22