diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-10 14:08:59 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-11 18:46:09 -0700 |
commit | f6ec0e9174be04faef1a906da6b2e17aebdcd7e0 (patch) | |
tree | 35fe9769cd2abfd45e28fca0a7ff93b4eab7f8b7 | |
parent | f8c4eba9c0620d7afb74790e540b73e13563526e (diff) | |
download | portage-f6ec0e9174be04faef1a906da6b2e17aebdcd7e0.tar.gz portage-f6ec0e9174be04faef1a906da6b2e17aebdcd7e0.tar.bz2 portage-f6ec0e9174be04faef1a906da6b2e17aebdcd7e0.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.
-rw-r--r-- | cnf/make.globals | 4 |
1 files changed, 2 insertions, 2 deletions
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}\"" |