summaryrefslogtreecommitdiffstats
path: root/cnf
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-10 14:08:59 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-10 14:08:59 -0700
commita0780b8b762637b2d09c62b5e103596e2b674971 (patch)
tree4153eefb8f4605d1e5b9fb288d6c43f41e7564e1 /cnf
parent5c92b404cf66d2de548daed623274ed40ec88bbc (diff)
downloadportage-a0780b8b762637b2d09c62b5e103596e2b674971.tar.gz
portage-a0780b8b762637b2d09c62b5e103596e2b674971.tar.bz2
portage-a0780b8b762637b2d09c62b5e103596e2b674971.zip
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 <idl0r@g.o> for the suggestion.
Diffstat (limited to 'cnf')
-rw-r--r--cnf/make.globals4
1 files changed, 2 insertions, 2 deletions
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}\""